Enum wasmtime_environ::MemoryStyle [−][src]
Expand description
Implemenation styles for WebAssembly linear memory.
Variants
Dynamic
Fields
reserve: u64
Extra space to reserve when a memory must be moved due to growth.
The actual memory can be resized and moved.
Static
Fields
bound: u64
The number of mapped and unmapped pages.
Addresss space is allocated up front.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for MemoryStyle
impl Send for MemoryStyle
impl Sync for MemoryStyle
impl Unpin for MemoryStyle
impl UnwindSafe for MemoryStyle
Blanket Implementations
Mutably borrows from an owned value. Read more