Struct parity_wasm::elements::MemoryType
[−]
[src]
pub struct MemoryType(_);
Memory entry.
Methods
impl MemoryType
[src]
fn new(min: u32, max: Option<u32>) -> Self
New memory definition
fn limits(&self) -> &ResizableLimits
Limits of the memory entry.
Trait Implementations
impl Debug for MemoryType
[src]
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>
Deserialize type from serial i/o