pub struct ScrollPx(f32);Expand description
A wheel notch as a host reports it: the screen pixels the diagram was asked to scroll up by. Hosts disagree on the sign of a wheel, so each states its own in this type’s terms and none of them states the rate.
Tuple Fields§
§0: f32Implementations§
Trait Implementations§
impl Copy for ScrollPx
impl StructuralPartialEq for ScrollPx
Auto Trait Implementations§
impl Freeze for ScrollPx
impl RefUnwindSafe for ScrollPx
impl Send for ScrollPx
impl Sync for ScrollPx
impl Unpin for ScrollPx
impl UnsafeUnpin for ScrollPx
impl UnwindSafe for ScrollPx
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