pub struct MemoryRegion {
pub name: String,
pub origin: u32,
pub length: u32,
pub attributes: String,
}Expand description
Memory region definition
Fields§
§name: StringRegion name (e.g., “FLASH”, “RAM”)
origin: u32Start address
length: u32Size in bytes
attributes: StringAttributes (r=read, w=write, x=execute)
Trait Implementations§
Source§impl Clone for MemoryRegion
impl Clone for MemoryRegion
Auto Trait Implementations§
impl Freeze for MemoryRegion
impl RefUnwindSafe for MemoryRegion
impl Send for MemoryRegion
impl Sync for MemoryRegion
impl Unpin for MemoryRegion
impl UnsafeUnpin for MemoryRegion
impl UnwindSafe for MemoryRegion
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