Struct parity_wasm::elements::ResizableLimits
[−]
[src]
pub struct ResizableLimits { /* fields omitted */ }Memory limits
Methods
impl ResizableLimits[src]
fn new(min: u32, max: Option<u32>) -> Self[src]
New memory limits definition
fn initial(&self) -> u32[src]
Initial size
fn maximum(&self) -> Option<u32>[src]
Maximum size
Trait Implementations
impl Debug for ResizableLimits[src]
impl Clone for ResizableLimits[src]
fn clone(&self) -> ResizableLimits[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 ResizableLimits[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