Struct wasmer_runtime_core_fl::types::MemoryDescriptor [−][src]
pub struct MemoryDescriptor { pub minimum: Pages, pub maximum: Option<Pages>, pub shared: bool, pub memory_type: MemoryType, }
Expand description
A wasm memory descriptor.
Fields
minimum: Pages
The minimum number of allowed pages.
maximum: Option<Pages>
The maximum number of allowed pages.
This memory can be shared between wasm threads.
memory_type: MemoryType
The type of the memory
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
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MemoryDescriptor
impl Send for MemoryDescriptor
impl Sync for MemoryDescriptor
impl Unpin for MemoryDescriptor
impl UnwindSafe for MemoryDescriptor
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
type Output = T
type Output = T
Should always be Self