Enum MemMode
#[repr(u8)]pub enum MemMode {
MainFlash = 0,
SystemFlash = 1,
MainFlashAlt = 2,
Sram = 3,
}Variants§
MainFlash = 0
Main Flash memory mapped at address 0
SystemFlash = 1
System Flash memory mapped at address 0
MainFlashAlt = 2
Main Flash memory mapped at address 0 (alternate encoding)
Sram = 3
Embedded SRAM mapped at address 0
Implementations§
Trait Implementations§
impl Copy for MemMode
impl Eq for MemMode
§impl Ord for MemMode
impl Ord for MemMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for MemMode
impl PartialOrd for MemMode
impl StructuralPartialEq for MemMode
Auto Trait Implementations§
impl Freeze for MemMode
impl RefUnwindSafe for MemMode
impl Send for MemMode
impl Sync for MemMode
impl Unpin for MemMode
impl UnsafeUnpin for MemMode
impl UnwindSafe for MemMode
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