#[repr(transparent)]pub struct DeviceCapsValues(pub usize);Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for DeviceCapsValues
impl Clone for DeviceCapsValues
Source§fn clone(&self) -> DeviceCapsValues
fn clone(&self) -> DeviceCapsValues
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 moreSource§impl Debug for DeviceCapsValues
impl Debug for DeviceCapsValues
Source§impl Default for DeviceCapsValues
impl Default for DeviceCapsValues
Source§fn default() -> DeviceCapsValues
fn default() -> DeviceCapsValues
Returns the “default value” for a type. Read more
Source§impl From<DeviceCapsValues> for usize
impl From<DeviceCapsValues> for usize
Source§fn from(value: DeviceCapsValues) -> Self
fn from(value: DeviceCapsValues) -> Self
Converts to this type from the input type.
Source§impl From<usize> for DeviceCapsValues
impl From<usize> for DeviceCapsValues
Source§impl Hash for DeviceCapsValues
impl Hash for DeviceCapsValues
Source§impl Ord for DeviceCapsValues
impl Ord for DeviceCapsValues
Source§fn cmp(&self, other: &DeviceCapsValues) -> Ordering
fn cmp(&self, other: &DeviceCapsValues) -> 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 DeviceCapsValues
impl PartialEq for DeviceCapsValues
Source§fn eq(&self, other: &DeviceCapsValues) -> bool
fn eq(&self, other: &DeviceCapsValues) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DeviceCapsValues
impl PartialOrd for DeviceCapsValues
impl Copy for DeviceCapsValues
impl Eq for DeviceCapsValues
impl StructuralPartialEq for DeviceCapsValues
Auto Trait Implementations§
impl Freeze for DeviceCapsValues
impl RefUnwindSafe for DeviceCapsValues
impl Send for DeviceCapsValues
impl Sync for DeviceCapsValues
impl Unpin for DeviceCapsValues
impl UnsafeUnpin for DeviceCapsValues
impl UnwindSafe for DeviceCapsValues
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