pub struct ScrollEvent {
pub window_id: WindowId,
pub scroll: DVec2,
pub abs: DVec2,
pub modifiers: KeyModifiers,
pub handled_x: Cell<bool>,
pub handled_y: Cell<bool>,
pub is_mouse: bool,
pub time: f64,
}Fields§
§window_id: WindowId§scroll: DVec2§abs: DVec2§modifiers: KeyModifiers§handled_x: Cell<bool>§handled_y: Cell<bool>§is_mouse: bool§time: f64Trait Implementations§
Source§impl Clone for ScrollEvent
impl Clone for ScrollEvent
Source§fn clone(&self) -> ScrollEvent
fn clone(&self) -> ScrollEvent
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 ScrollEvent
impl !RefUnwindSafe for ScrollEvent
impl Send for ScrollEvent
impl !Sync for ScrollEvent
impl Unpin for ScrollEvent
impl UnwindSafe for ScrollEvent
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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