#[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)
Chip RAM Size.
Sourcepub const fn flash_size(&self) -> FlashSize
pub const fn flash_size(&self) -> FlashSize
Chip FLASH Size.
Sourcepub const fn set_flash_size(&mut self, val: FlashSize)
pub const fn set_flash_size(&mut self, val: FlashSize)
Chip FLASH Size.
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