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: ResizableLimits
Declared limits of the table instance.
origin: ImportedOrDeclared
Origin of the memory instance (internal or imported).
Trait Implementations§
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