pub struct MouseConfig {
pub auto_mouse_layer: u8,
pub auto_mouse_duration: u32,
pub auto_mouse_threshold: u8,
pub scroll_divider_x: i8,
pub scroll_divider_y: i8,
}Fields§
§auto_mouse_layer: u8§auto_mouse_duration: u32§auto_mouse_threshold: u8§scroll_divider_x: i8§scroll_divider_y: i8Trait Implementations§
Source§impl Clone for MouseConfig
impl Clone for MouseConfig
Source§fn clone(&self) -> MouseConfig
fn clone(&self) -> MouseConfig
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 MouseConfig
impl Debug for MouseConfig
Source§impl<'de> Deserialize<'de> for MouseConfig
impl<'de> Deserialize<'de> for MouseConfig
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
Source§impl MaxSize for MouseConfig
impl MaxSize for MouseConfig
Source§const POSTCARD_MAX_SIZE: usize = 9usize
const POSTCARD_MAX_SIZE: usize = 9usize
The maximum possible size that the serialization of this
type can have, in bytes.
Source§impl PartialEq for MouseConfig
impl PartialEq for MouseConfig
Source§impl Serialize for MouseConfig
impl Serialize for MouseConfig
impl Eq for MouseConfig
impl StructuralPartialEq for MouseConfig
Auto Trait Implementations§
impl Freeze for MouseConfig
impl RefUnwindSafe for MouseConfig
impl Send for MouseConfig
impl Sync for MouseConfig
impl Unpin for MouseConfig
impl UnwindSafe for MouseConfig
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