pub struct ScrollDelta {
pub device: Device,
pub time: u64,
pub dx: f32,
pub dy: f32,
}Fields§
§device: Device§time: u64§dx: f32§dy: f32Trait Implementations§
Source§impl Clone for ScrollDelta
impl Clone for ScrollDelta
Source§fn clone(&self) -> ScrollDelta
fn clone(&self) -> ScrollDelta
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 ScrollDelta
impl Debug for ScrollDelta
Source§impl DeviceEvent for ScrollDelta
impl DeviceEvent for ScrollDelta
Source§impl PartialEq for ScrollDelta
impl PartialEq for ScrollDelta
impl StructuralPartialEq for ScrollDelta
Auto Trait Implementations§
impl Freeze for ScrollDelta
impl RefUnwindSafe for ScrollDelta
impl Send for ScrollDelta
impl Sync for ScrollDelta
impl Unpin for ScrollDelta
impl UnwindSafe for ScrollDelta
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