Struct parity_wasm::elements::ResizableLimits [−][src]
pub struct ResizableLimits { /* fields omitted */ }Memory limits
Methods
impl ResizableLimits[src]
impl ResizableLimitspub fn new(min: u32, max: Option<u32>) -> Self[src]
pub fn new(min: u32, max: Option<u32>) -> SelfNew memory limits definition
pub fn initial(&self) -> u32[src]
pub fn initial(&self) -> u32Initial size
pub fn maximum(&self) -> Option<u32>[src]
pub fn maximum(&self) -> Option<u32>Maximum size
Whether or not this is a shared array buffer
Trait Implementations
impl Debug for ResizableLimits[src]
impl Debug for ResizableLimitsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for ResizableLimits[src]
impl Copy for ResizableLimitsimpl Clone for ResizableLimits[src]
impl Clone for ResizableLimitsfn clone(&self) -> ResizableLimits[src]
fn clone(&self) -> ResizableLimitsReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for ResizableLimits[src]
impl PartialEq for ResizableLimitsfn eq(&self, other: &ResizableLimits) -> bool[src]
fn eq(&self, other: &ResizableLimits) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ResizableLimits) -> bool[src]
fn ne(&self, other: &ResizableLimits) -> boolThis method tests for !=.
impl Deserialize for ResizableLimits[src]
impl Deserialize for ResizableLimitstype Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>[src]
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>Deserialize type from serial i/o
impl Serialize for ResizableLimits[src]
impl Serialize for ResizableLimitsAuto Trait Implementations
impl Send for ResizableLimits
impl Send for ResizableLimitsimpl Sync for ResizableLimits
impl Sync for ResizableLimits