pub struct HapticIntensity(/* private fields */);Expand description
Valid device haptic intensity (0..=100).
Implementations§
Trait Implementations§
Source§impl Clone for HapticIntensity
impl Clone for HapticIntensity
Source§fn clone(&self) -> HapticIntensity
fn clone(&self) -> HapticIntensity
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 HapticIntensity
Source§impl Debug for HapticIntensity
impl Debug for HapticIntensity
impl Eq for HapticIntensity
Source§impl Hash for HapticIntensity
impl Hash for HapticIntensity
Source§impl Ord for HapticIntensity
impl Ord for HapticIntensity
Source§fn cmp(&self, other: &HapticIntensity) -> Ordering
fn cmp(&self, other: &HapticIntensity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HapticIntensity
impl PartialEq for HapticIntensity
Source§impl PartialOrd for HapticIntensity
impl PartialOrd for HapticIntensity
impl StructuralPartialEq for HapticIntensity
Auto Trait Implementations§
impl Freeze for HapticIntensity
impl RefUnwindSafe for HapticIntensity
impl Send for HapticIntensity
impl Sync for HapticIntensity
impl Unpin for HapticIntensity
impl UnsafeUnpin for HapticIntensity
impl UnwindSafe for HapticIntensity
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