pub struct Memory<'b, 'a: 'b> { /* private fields */ }
Expand description
Represents the /memory
node with specific helper methods
Implementations§
Source§impl Memory<'_, '_>
impl Memory<'_, '_>
Sourcepub fn regions(&self) -> impl Iterator<Item = MemoryRegion> + '_
pub fn regions(&self) -> impl Iterator<Item = MemoryRegion> + '_
Returns an iterator over all of the available memory regions
Sourcepub fn initial_mapped_area(&self) -> Option<MappedArea>
pub fn initial_mapped_area(&self) -> Option<MappedArea>
Returns the initial mapped area, if it exists
Trait Implementations§
impl<'b, 'a: 'b> Copy for Memory<'b, 'a>
Auto Trait Implementations§
impl<'b, 'a> Freeze for Memory<'b, 'a>
impl<'b, 'a> RefUnwindSafe for Memory<'b, 'a>
impl<'b, 'a> Send for Memory<'b, 'a>
impl<'b, 'a> Sync for Memory<'b, 'a>
impl<'b, 'a> Unpin for Memory<'b, 'a>
impl<'b, 'a> UnwindSafe for Memory<'b, 'a>
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