Struct wasmtime_types::Memory [−][src]
pub struct Memory {
pub minimum: u64,
pub maximum: Option<u64>,
pub shared: bool,
pub memory64: bool,
}
Expand description
WebAssembly linear memory.
Fields
minimum: u64
The minimum number of pages in the memory.
maximum: Option<u64>
The maximum number of pages in the memory.
Whether the memory may be shared between multiple threads.
memory64: bool
Whether or not this is a 64-bit memory
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Memory
impl UnwindSafe for Memory
Blanket Implementations
Mutably borrows from an owned value. Read more