#[repr(transparent)]pub struct DeviceTypeA17(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl DeviceTypeA17
impl DeviceTypeA17
Sourcepub const fn device_type_num(&self) -> u16
pub const fn device_type_num(&self) -> u16
Indicates the device part number.
Sourcepub const fn set_device_type_num(&mut self, val: u16)
pub const fn set_device_type_num(&mut self, val: u16)
Indicates the device part number.
Sourcepub const fn device_type_sec(&self) -> bool
pub const fn device_type_sec(&self) -> bool
Indicates the device type. Raw bit values: false (0) = NonSec: Non Secure.; true (1) = Sec: Secure.
Sourcepub const fn set_device_type_sec(&mut self, val: bool)
pub const fn set_device_type_sec(&mut self, val: bool)
Indicates the device type. Raw bit values: false (0) = NonSec: Non Secure.; true (1) = Sec: Secure.
Sourcepub const fn device_type_pkg(&self) -> DeviceTypePkg
pub const fn device_type_pkg(&self) -> DeviceTypePkg
Indicates the device’s package type.
Sourcepub const fn set_device_type_pkg(&mut self, val: DeviceTypePkg)
pub const fn set_device_type_pkg(&mut self, val: DeviceTypePkg)
Indicates the device’s package type.
Sourcepub const fn device_type_pin(&self) -> u8
pub const fn device_type_pin(&self) -> u8
Indicates the device’s pin number.
Sourcepub const fn set_device_type_pin(&mut self, val: u8)
pub const fn set_device_type_pin(&mut self, val: u8)
Indicates the device’s pin number.
Trait Implementations§
Source§impl Clone for DeviceTypeA17
impl Clone for DeviceTypeA17
Source§fn clone(&self) -> DeviceTypeA17
fn clone(&self) -> DeviceTypeA17
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 DeviceTypeA17
impl Default for DeviceTypeA17
Source§fn default() -> DeviceTypeA17
fn default() -> DeviceTypeA17
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeviceTypeA17
impl PartialEq for DeviceTypeA17
impl Copy for DeviceTypeA17
impl Eq for DeviceTypeA17
impl StructuralPartialEq for DeviceTypeA17
Auto Trait Implementations§
impl Freeze for DeviceTypeA17
impl RefUnwindSafe for DeviceTypeA17
impl Send for DeviceTypeA17
impl Sync for DeviceTypeA17
impl Unpin for DeviceTypeA17
impl UnwindSafe for DeviceTypeA17
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