pub struct Memory {
pub minimum: u32,
pub maximum: Option<u32>,
pub shared: bool,
}Expand description
WebAssembly linear memory.
Fields§
§minimum: u32The minimum number of pages in the memory.
maximum: Option<u32>The maximum number of pages in the memory.
Whether the memory may be shared between multiple threads.
Trait Implementations§
impl Copy for Memory
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