#[repr(transparent)]pub struct DeviceId0A17(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl DeviceId0A17
impl DeviceId0A17
Sourcepub const fn set_ram_size(&mut self, val: RamSize)
pub const fn set_ram_size(&mut self, val: RamSize)
Indicates the device’s ram size.
Sourcepub const fn flash_size(&self) -> FlashSize
pub const fn flash_size(&self) -> FlashSize
Indicates the device’s flash size.
Sourcepub const fn set_flash_size(&mut self, val: FlashSize)
pub const fn set_flash_size(&mut self, val: FlashSize)
Indicates the device’s flash size.
Sourcepub const fn rom_rev_minor(&self) -> u8
pub const fn rom_rev_minor(&self) -> u8
Indicates the device’s ROM revision.
Sourcepub const fn set_rom_rev_minor(&mut self, val: u8)
pub const fn set_rom_rev_minor(&mut self, val: u8)
Indicates the device’s ROM revision.
Sourcepub const fn security(&self) -> SecurityA17
pub const fn security(&self) -> SecurityA17
no description available.
Sourcepub const fn set_security(&mut self, val: SecurityA17)
pub const fn set_security(&mut self, val: SecurityA17)
no description available.
Trait Implementations§
Source§impl Clone for DeviceId0A17
impl Clone for DeviceId0A17
Source§fn clone(&self) -> DeviceId0A17
fn clone(&self) -> DeviceId0A17
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 DeviceId0A17
impl Default for DeviceId0A17
Source§fn default() -> DeviceId0A17
fn default() -> DeviceId0A17
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeviceId0A17
impl PartialEq for DeviceId0A17
impl Copy for DeviceId0A17
impl Eq for DeviceId0A17
impl StructuralPartialEq for DeviceId0A17
Auto Trait Implementations§
impl Freeze for DeviceId0A17
impl RefUnwindSafe for DeviceId0A17
impl Send for DeviceId0A17
impl Sync for DeviceId0A17
impl Unpin for DeviceId0A17
impl UnwindSafe for DeviceId0A17
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