pub struct MemRangeInfo {
pub memory_type: MemoryType,
pub start_addr: usize,
pub size: usize,
pub word_size: usize,
pub attributes: u32,
}Expand description
Information about a specific memory range defined in the PSP memory table.
Fields§
§memory_type: MemoryTypeThe type of memory (e.g., RAM, EEPROM).
start_addr: usizeThe starting address of the memory range.
size: usizeThe size of the memory range in bytes.
word_size: usizeThe word size of the memory (e.g., 1, 2, 4 bytes).
attributes: u32The attributes of the memory (e.g., read, write).
Trait Implementations§
Source§impl Clone for MemRangeInfo
impl Clone for MemRangeInfo
Source§fn clone(&self) -> MemRangeInfo
fn clone(&self) -> MemRangeInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemRangeInfo
impl Debug for MemRangeInfo
impl Copy for MemRangeInfo
Auto Trait Implementations§
impl Freeze for MemRangeInfo
impl RefUnwindSafe for MemRangeInfo
impl Send for MemRangeInfo
impl Sync for MemRangeInfo
impl Unpin for MemRangeInfo
impl UnsafeUnpin for MemRangeInfo
impl UnwindSafe for MemRangeInfo
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