pub struct MemoryRegion {
pub label: String,
pub base: usize,
pub size: usize,
pub active: bool,
}Expand description
Represents a named memory region used by the arena system.
Fields§
§label: StringHuman-readable label.
base: usizeBase offset.
size: usizeSize in bytes.
active: boolWhether the region is currently in use.
Implementations§
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