pub struct Memory {
pub name: Option<String>,
pub access: Option<String>,
pub start: String,
pub size: String,
pub default: Option<bool>,
pub startup: Option<bool>,
pub uninit: Option<bool>,
pub alias: Option<String>,
pub pname: Option<String>,
}Expand description
Represents a PDSC memory element
Fields§
§name: Option<String>Unique name for this memory region
access: Option<String>Access permissions (r, rw, rwx, etc.)
start: StringStart address of the memory region (hex string)
size: StringSize of the memory region in bytes (hex string)
default: Option<bool>If true, this is the default memory region
startup: Option<bool>If true, this region contains the startup code
uninit: Option<bool>If true, do not zero-initialise this region
alias: Option<String>Name of the memory region this region aliases
pname: Option<String>Processor instance name this region applies to
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Memory
impl<'de> Deserialize<'de> for Memory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Memory
impl StructuralPartialEq for Memory
Auto Trait Implementations§
impl Freeze for Memory
impl RefUnwindSafe for Memory
impl Send for Memory
impl Sync for Memory
impl Unpin for Memory
impl UnsafeUnpin for Memory
impl UnwindSafe for Memory
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