Struct wasm_graph::Memory
source · pub struct Memory {
pub limits: ResizableLimits,
pub origin: ImportedOrDeclared,
}Expand description
Memory instance decriptor.
As with other similar instances, memory instances can be either imported
or declared within the module - origin field is handling this.
Fields§
§limits: ResizableLimitsDeclared limits of the table instance.
origin: ImportedOrDeclaredOrigin of the memory instance (internal or imported).
Trait Implementations§
Auto Trait Implementations§
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