#[repr(u32)]pub enum MemType {
Ram = 1,
Peripheral = 2,
Reserved = 3,
}
Expand description
Unknown values should be treated as RESERVED to allow forwards compatibility.
Variants§
Ram = 1
Standard RAM.
Peripheral = 2
Device memory.
Reserved = 3
Represents memory that should not be used by the system. Reserved ranges may overlap other RAM or PERIPHERAL regions, in which case the reserved range should take precedence.
Trait Implementations§
impl Copy for MemType
impl Eq for MemType
impl IntoBytes for MemType
impl StructuralPartialEq for MemType
Auto Trait Implementations§
impl Freeze for MemType
impl RefUnwindSafe for MemType
impl Send for MemType
impl Sync for MemType
impl Unpin for MemType
impl UnwindSafe for MemType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)