pub struct Memory {
pub hide_name: usize,
pub attributes: HashMap<String, AttributeVal>,
pub width: usize,
pub size: usize,
pub start_offset: usize,
}
Expand description
Represents a memory in a module
Fields§
§hide_name: usize
Indicates an internal/auto-generated name that starts with $
attributes: HashMap<String, AttributeVal>
Attributes for this memory
width: usize
Memory width
size: usize
Memory size
start_offset: usize
Lowest valid memory address
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 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