pub struct HiResScrollConfig {
pub target: bool,
pub hires: bool,
pub invert: bool,
}Expand description
Current wheel mode configuration.
Fields§
§target: boolWhether HID++ events are used for scrolling.
hires: boolWhether high resolution mode is enabled.
invert: boolWhether scroll direction is inverted.
Trait Implementations§
Source§impl Clone for HiResScrollConfig
impl Clone for HiResScrollConfig
Source§fn clone(&self) -> HiResScrollConfig
fn clone(&self) -> HiResScrollConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 HiResScrollConfig
impl Debug for HiResScrollConfig
Source§impl Default for HiResScrollConfig
impl Default for HiResScrollConfig
Source§impl From<&HiResScrollConfig> for WheelModeFlags
impl From<&HiResScrollConfig> for WheelModeFlags
Source§fn from(config: &HiResScrollConfig) -> Self
fn from(config: &HiResScrollConfig) -> Self
Converts to this type from the input type.
Source§impl From<WheelModeFlags> for HiResScrollConfig
impl From<WheelModeFlags> for HiResScrollConfig
Source§fn from(flags: WheelModeFlags) -> Self
fn from(flags: WheelModeFlags) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HiResScrollConfig
impl PartialEq for HiResScrollConfig
impl Eq for HiResScrollConfig
impl StructuralPartialEq for HiResScrollConfig
Auto Trait Implementations§
impl Freeze for HiResScrollConfig
impl RefUnwindSafe for HiResScrollConfig
impl Send for HiResScrollConfig
impl Sync for HiResScrollConfig
impl Unpin for HiResScrollConfig
impl UnwindSafe for HiResScrollConfig
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