Struct cton_wasm::Memory
[−]
[src]
pub struct Memory { pub pages_count: usize, pub maximum: Option<usize>, pub shared: bool, }
WebAssembly linear memory.
Fields
pages_count: usize
The minimum number of pages in the memory.
maximum: Option<usize>
The maximum number of pages in the memory.
Whether the memory may be shared between multiple threads.
Trait Implementations
impl Debug for Memory
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Memory
[src]
fn clone(&self) -> Memory
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more