Enum wast::MemoryType [−][src]
pub enum MemoryType {
B32 {
limits: Limits,
shared: bool,
},
B64 {
limits: Limits64,
shared: bool,
},
}
Expand description
Configuration for a memory of a wasm module
Variants
A 32-bit memory
Fields of B32
limits: Limits
Limits on the page sizes of this memory
Whether or not this is a shared (atomic) memory type
A 64-bit memory
Fields of B64
limits: Limits64
Limits on the page sizes of this memory
Whether or not this is a shared (atomic) memory type
Trait Implementations
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 MemoryType
impl Send for MemoryType
impl Sync for MemoryType
impl Unpin for MemoryType
impl UnwindSafe for MemoryType
Blanket Implementations
Mutably borrows from an owned value. Read more