Struct wasmtime_environ::wasm::Memory [−][src]
WebAssembly linear memory.
Fields
minimum: u32
The minimum number of pages in the memory.
maximum: Option<u32>
The maximum number of pages in the memory.
Whether the memory may be shared between multiple threads.
Trait Implementations
impl<'de> Deserialize<'de> for Memory
[src]
impl<'de> Deserialize<'de> for Memory
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Memory, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Memory, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Serialize for Memory
[src]
impl Serialize for Memory
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl Copy for Memory
[src]
impl Eq for Memory
[src]
impl StructuralEq for Memory
[src]
impl StructuralPartialEq for Memory
[src]
Auto Trait Implementations
impl RefUnwindSafe for Memory
impl Send for Memory
impl Sync for Memory
impl Unpin for Memory
impl UnwindSafe for Memory
Blanket Implementations
impl<T> CallHasher for T where
T: Hash,
[src]
impl<T> CallHasher for T where
T: Hash,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,