Enum wasmtime_environ::MemoryStyle [−][src]
pub enum MemoryStyle { Dynamic, Static { bound: u32, }, }
Expand description
Implemenation styles for WebAssembly linear memory.
Variants
The actual memory can be resized and moved.
Addresss space is allocated up front.
Fields of Static
bound: u32
The number of mapped and unmapped pages.
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