pub struct AccelProfile(pub u32);
Expand description
The acceleration profile of a device.
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl Clone for AccelProfile
impl Clone for AccelProfile
Source§fn clone(&self) -> AccelProfile
fn clone(&self) -> AccelProfile
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 AccelProfile
impl Debug for AccelProfile
Source§impl<'de> Deserialize<'de> for AccelProfile
impl<'de> Deserialize<'de> for AccelProfile
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 Hash for AccelProfile
impl Hash for AccelProfile
Source§impl PartialEq for AccelProfile
impl PartialEq for AccelProfile
Source§impl Serialize for AccelProfile
impl Serialize for AccelProfile
impl Copy for AccelProfile
impl Eq for AccelProfile
impl StructuralPartialEq for AccelProfile
Auto Trait Implementations§
impl Freeze for AccelProfile
impl RefUnwindSafe for AccelProfile
impl Send for AccelProfile
impl Sync for AccelProfile
impl Unpin for AccelProfile
impl UnwindSafe for AccelProfile
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