Enum wasmtime_environ::MemoryStyle [−][src]
pub enum MemoryStyle { Dynamic, Static { bound: u32, }, }
Implemenation styles for WebAssembly linear memory.
Variants
The actual memory can be resized and moved.
Addresss space is allocated up front.
Show fields
Fields of Static
bound: u32
The number of mapped and unmapped pages.
Implementations
impl MemoryStyle
[src]
impl MemoryStyle
[src]Trait Implementations
impl Clone for MemoryStyle
[src]
impl Clone for MemoryStyle
[src]fn clone(&self) -> MemoryStyle
[src][−]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src][−]
impl<'de> Deserialize<'de> for MemoryStyle
[src]
impl<'de> Deserialize<'de> for MemoryStyle
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src][−]
__D: Deserializer<'de>,
impl Hash for MemoryStyle
[src]
impl Hash for MemoryStyle
[src]impl Serialize for MemoryStyle
[src]
impl Serialize for MemoryStyle
[src]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
impl<T> CallHasher for T where
T: Hash,
[src]
impl<T> CallHasher for T where
T: Hash,
[src]impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,