pub struct SmartMouseConfig {
pub steps: usize,
pub overshoot: f64,
pub jitter: f64,
pub step_delay_ms: u64,
pub easing: bool,
}Expand description
Configuration for smart mouse movement behavior.
Fields§
§steps: usizeNumber of intermediate steps for movement (higher = smoother). Default: 25.
overshoot: f64Overshoot factor past the target (0.0 = none, 1.0 = full distance). Default: 0.15.
jitter: f64Per-step jitter in CSS pixels. Default: 1.5.
step_delay_ms: u64Base delay between movement steps in milliseconds. Default: 8.
easing: boolWhether to apply ease-in-out timing (acceleration/deceleration). Default: true.
Trait Implementations§
Source§impl Clone for SmartMouseConfig
impl Clone for SmartMouseConfig
Source§fn clone(&self) -> SmartMouseConfig
fn clone(&self) -> SmartMouseConfig
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 SmartMouseConfig
impl Debug for SmartMouseConfig
Auto Trait Implementations§
impl Freeze for SmartMouseConfig
impl RefUnwindSafe for SmartMouseConfig
impl Send for SmartMouseConfig
impl Sync for SmartMouseConfig
impl Unpin for SmartMouseConfig
impl UnsafeUnpin for SmartMouseConfig
impl UnwindSafe for SmartMouseConfig
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