Struct parity_wasm::elements::MemoryType
[−]
[src]
pub struct MemoryType(_);
Memory entry.
Methods
impl MemoryType
[src]
pub fn new(min: u32, max: Option<u32>) -> Self
[src]
New memory definition
pub fn limits(&self) -> &ResizableLimits
[src]
Limits of the memory entry.
Trait Implementations
impl Debug for MemoryType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for MemoryType
[src]
impl Clone for MemoryType
[src]
fn clone(&self) -> MemoryType
[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
impl Deserialize for MemoryType
[src]
type Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>
[src]
Deserialize type from serial i/o