pub struct ScrollMethod(pub u32);Expand description
The scroll method of a device.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for ScrollMethod
impl Clone for ScrollMethod
Source§fn clone(&self) -> ScrollMethod
fn clone(&self) -> ScrollMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScrollMethod
Source§impl Debug for ScrollMethod
impl Debug for ScrollMethod
Source§impl<'de> Deserialize<'de> for ScrollMethod
impl<'de> Deserialize<'de> for ScrollMethod
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
impl Eq for ScrollMethod
Source§impl Hash for ScrollMethod
impl Hash for ScrollMethod
Source§impl PartialEq for ScrollMethod
impl PartialEq for ScrollMethod
Source§fn eq(&self, other: &ScrollMethod) -> bool
fn eq(&self, other: &ScrollMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScrollMethod
impl Serialize for ScrollMethod
impl StructuralPartialEq for ScrollMethod
Auto Trait Implementations§
impl Freeze for ScrollMethod
impl RefUnwindSafe for ScrollMethod
impl Send for ScrollMethod
impl Sync for ScrollMethod
impl Unpin for ScrollMethod
impl UnsafeUnpin for ScrollMethod
impl UnwindSafe for ScrollMethod
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