pub enum WireScrollDelta {
Lines {
x: f32,
y: f32,
},
Pixels {
x: f32,
y: f32,
},
}Expand description
How far a scroll moved.
Variants§
Trait Implementations§
Source§impl Clone for WireScrollDelta
impl Clone for WireScrollDelta
impl Copy for WireScrollDelta
Source§impl Debug for WireScrollDelta
impl Debug for WireScrollDelta
Source§impl<'de> Deserialize<'de> for WireScrollDelta
impl<'de> Deserialize<'de> for WireScrollDelta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WireScrollDelta
impl PartialEq for WireScrollDelta
Source§impl Serialize for WireScrollDelta
impl Serialize for WireScrollDelta
impl StructuralPartialEq for WireScrollDelta
Auto Trait Implementations§
impl Forget for WireScrollDelta
impl Freeze for WireScrollDelta
impl Move for WireScrollDelta
impl RefUnwindSafe for WireScrollDelta
impl Send for WireScrollDelta
impl Sync for WireScrollDelta
impl Unpin for WireScrollDelta
impl UnsafeUnpin for WireScrollDelta
impl UnwindSafe for WireScrollDelta
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