pub struct MouseConfiguration {
pub handedness: Option<Handedness>,
pub acceleration: Option<PointerAcceleration>,
pub acceleration_bias: Option<f64>,
pub vscroll_speed: Option<f64>,
pub hscroll_speed: Option<f64>,
}Expand description
Mouse pointer configuration.
Fields§
§handedness: Option<Handedness>Swap left and right buttons.
acceleration: Option<PointerAcceleration>Pointer acceleration profile.
acceleration_bias: Option<f64>§vscroll_speed: Option<f64>§hscroll_speed: Option<f64>Trait Implementations§
Source§impl Clone for MouseConfiguration
impl Clone for MouseConfiguration
Source§fn clone(&self) -> MouseConfiguration
fn clone(&self) -> MouseConfiguration
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 MouseConfiguration
impl Debug for MouseConfiguration
Source§impl Default for MouseConfiguration
impl Default for MouseConfiguration
Source§fn default() -> MouseConfiguration
fn default() -> MouseConfiguration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MouseConfiguration
impl RefUnwindSafe for MouseConfiguration
impl Send for MouseConfiguration
impl Sync for MouseConfiguration
impl Unpin for MouseConfiguration
impl UnwindSafe for MouseConfiguration
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