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 copy 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 ScrollEvent
impl Debug for ScrollEvent
Source§impl From<StdinScroll> for ScrollEvent
impl From<StdinScroll> for ScrollEvent
Source§fn from(v: StdinScroll) -> ScrollEvent
fn from(v: StdinScroll) -> ScrollEvent
Converts to this type from the input type.
Auto 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> 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