Struct web_assembler::ResizableLimits [−][src]
Fields
flags: u32
initial: u32
maximum: Option<u32>
Methods
impl ResizableLimits[src]
impl ResizableLimitspub fn new(limit: u32) -> Self[src]
pub fn new(limit: u32) -> Selfpub fn max(self, maximum: u32) -> Self[src]
pub fn max(self, maximum: u32) -> Selfpub fn flags(self, flags: u32) -> Self[src]
pub fn flags(self, flags: u32) -> Selfunstable
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 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 Eq for ResizableLimits[src]
impl Eq for ResizableLimitsimpl Hash for ResizableLimits[src]
impl Hash for ResizableLimitsfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Dump for ResizableLimits[src]
impl Dump for ResizableLimitsAuto Trait Implementations
impl Send for ResizableLimits
impl Send for ResizableLimitsimpl Sync for ResizableLimits
impl Sync for ResizableLimits