Struct alacritty::event::AccumulatedScroll
source · pub struct AccumulatedScroll {
pub x: f64,
pub y: f64,
}
Expand description
The amount of scroll accumulated from the pointer events.
Fields§
§x: f64
Scroll we should perform along x
axis.
y: f64
Scroll we should perform along y
axis.
Trait Implementations§
source§impl Debug for AccumulatedScroll
impl Debug for AccumulatedScroll
source§impl Default for AccumulatedScroll
impl Default for AccumulatedScroll
source§fn default() -> AccumulatedScroll
fn default() -> AccumulatedScroll
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AccumulatedScroll
impl Send for AccumulatedScroll
impl Sync for AccumulatedScroll
impl Unpin for AccumulatedScroll
impl UnwindSafe for AccumulatedScroll
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