pub struct MemoryOpts {
pub initial: usize,
pub maximum: usize,
}
Expand description
Wasm memory parameters
Fields§
§initial: usize
The initial size of the WebAssembly Memory
maximum: usize
The maximum size the WebAssembly Memory is allowed to grow to
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemoryOpts
impl RefUnwindSafe for MemoryOpts
impl Send for MemoryOpts
impl Sync for MemoryOpts
impl Unpin for MemoryOpts
impl UnwindSafe for MemoryOpts
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