#[repr(transparent)]pub struct DeviceTypeN5(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl DeviceTypeN5
impl DeviceTypeN5
Sourcepub const fn device_type(&self) -> u32
pub const fn device_type(&self) -> u32
Indicates DEVICE TYPE.
Sourcepub const fn set_device_type(&mut self, val: u32)
pub const fn set_device_type(&mut self, val: u32)
Indicates DEVICE TYPE.
Trait Implementations§
Source§impl Clone for DeviceTypeN5
impl Clone for DeviceTypeN5
Source§fn clone(&self) -> DeviceTypeN5
fn clone(&self) -> DeviceTypeN5
Returns a duplicate 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 Default for DeviceTypeN5
impl Default for DeviceTypeN5
Source§fn default() -> DeviceTypeN5
fn default() -> DeviceTypeN5
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeviceTypeN5
impl PartialEq for DeviceTypeN5
impl Copy for DeviceTypeN5
impl Eq for DeviceTypeN5
impl StructuralPartialEq for DeviceTypeN5
Auto Trait Implementations§
impl Freeze for DeviceTypeN5
impl RefUnwindSafe for DeviceTypeN5
impl Send for DeviceTypeN5
impl Sync for DeviceTypeN5
impl Unpin for DeviceTypeN5
impl UnwindSafe for DeviceTypeN5
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