#[repr(transparent)]pub struct DeviceTypeA1Small(pub u32);Expand description
Device Type.
Tuple Fields§
§0: u32Implementations§
Source§impl DeviceTypeA1Small
impl DeviceTypeA1Small
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 DeviceTypeA1Small
impl Clone for DeviceTypeA1Small
Source§fn clone(&self) -> DeviceTypeA1Small
fn clone(&self) -> DeviceTypeA1Small
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 DeviceTypeA1Small
impl Default for DeviceTypeA1Small
Source§fn default() -> DeviceTypeA1Small
fn default() -> DeviceTypeA1Small
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeviceTypeA1Small
impl PartialEq for DeviceTypeA1Small
impl Copy for DeviceTypeA1Small
impl Eq for DeviceTypeA1Small
impl StructuralPartialEq for DeviceTypeA1Small
Auto Trait Implementations§
impl Freeze for DeviceTypeA1Small
impl RefUnwindSafe for DeviceTypeA1Small
impl Send for DeviceTypeA1Small
impl Sync for DeviceTypeA1Small
impl Unpin for DeviceTypeA1Small
impl UnwindSafe for DeviceTypeA1Small
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