pub struct PointerScrollEvent {
pub pointer: PointerInfo,
pub delta: ScrollDelta,
pub state: PointerState,
}Expand description
An event representing a scroll
Fields§
§pointer: PointerInfoIdentity of the pointer.
delta: ScrollDeltaThe delta of the scroll.
state: PointerStateThe state of the pointer (i.e. position, pressure, etc.).
Trait Implementations§
Source§impl Clone for PointerScrollEvent
impl Clone for PointerScrollEvent
Source§fn clone(&self) -> PointerScrollEvent
fn clone(&self) -> PointerScrollEvent
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 moreAuto Trait Implementations§
impl Freeze for PointerScrollEvent
impl RefUnwindSafe for PointerScrollEvent
impl Send for PointerScrollEvent
impl Sync for PointerScrollEvent
impl Unpin for PointerScrollEvent
impl UnwindSafe for PointerScrollEvent
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