pub struct GlobalInputConfig {
pub enabled: bool,
pub keyboard: bool,
pub mouse: bool,
pub mouse_move: bool,
}Expand description
Global input hook configuration.
Fields§
§enabled: boolMaster switch for global input capture.
keyboard: boolCapture keyboard events.
mouse: boolCapture mouse button events.
mouse_move: boolAlso forward high-frequency MouseMove events (off by default).
Trait Implementations§
Source§impl Clone for GlobalInputConfig
impl Clone for GlobalInputConfig
Source§fn clone(&self) -> GlobalInputConfig
fn clone(&self) -> GlobalInputConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GlobalInputConfig
impl Debug for GlobalInputConfig
Source§impl Default for GlobalInputConfig
impl Default for GlobalInputConfig
Source§impl<'de> Deserialize<'de> for GlobalInputConfig
impl<'de> Deserialize<'de> for GlobalInputConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GlobalInputConfig
impl RefUnwindSafe for GlobalInputConfig
impl Send for GlobalInputConfig
impl Sync for GlobalInputConfig
impl Unpin for GlobalInputConfig
impl UnsafeUnpin for GlobalInputConfig
impl UnwindSafe for GlobalInputConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more