#[repr(transparent)]pub struct DeviceId0(pub u32);Expand description
Device ID
Tuple Fields§
§0: u32Implementations§
Source§impl DeviceId0
impl DeviceId0
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 set_security(&mut self, val: Security)
pub const fn set_security(&mut self, val: Security)
no description available
Trait Implementations§
impl Copy for DeviceId0
impl Eq for DeviceId0
impl StructuralPartialEq for DeviceId0
Auto Trait Implementations§
impl Freeze for DeviceId0
impl RefUnwindSafe for DeviceId0
impl Send for DeviceId0
impl Sync for DeviceId0
impl Unpin for DeviceId0
impl UnwindSafe for DeviceId0
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