pub struct Delta {
pub delta_x: f64,
pub delta_y: f64,
}Fields§
§delta_x: f64X delta in CSS pixels for mouse wheel event (default: 0).
delta_y: f64Y delta in CSS pixels for mouse wheel event (default: 0).
Implementations§
Trait Implementations§
impl Copy for Delta
impl StructuralPartialEq for Delta
Auto Trait Implementations§
impl Freeze for Delta
impl RefUnwindSafe for Delta
impl Send for Delta
impl Sync for Delta
impl Unpin for Delta
impl UnwindSafe for Delta
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