Struct web_assembler::ResizableLimits [−][src]
Fields
flags: u32
initial: u32
maximum: Option<u32>
Methods
impl ResizableLimits
[src]
impl ResizableLimits
pub fn new(limit: u32) -> Self
[src]
pub fn new(limit: u32) -> Self
pub fn max(self, maximum: u32) -> Self
[src]
pub fn max(self, maximum: u32) -> Self
pub fn flags(self, flags: u32) -> Self
[src]
pub fn flags(self, flags: u32) -> Self
unstable
Trait Implementations
impl Debug for ResizableLimits
[src]
impl Debug for ResizableLimits
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ResizableLimits
[src]
impl Clone for ResizableLimits
fn clone(&self) -> ResizableLimits
[src]
fn clone(&self) -> ResizableLimits
Returns 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 ResizableLimits
fn eq(&self, other: &ResizableLimits) -> bool
[src]
fn eq(&self, other: &ResizableLimits) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for ResizableLimits
[src]
impl Eq for ResizableLimits
impl Hash for ResizableLimits
[src]
impl Hash for ResizableLimits
fn 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 ResizableLimits
Auto Trait Implementations
impl Send for ResizableLimits
impl Send for ResizableLimits
impl Sync for ResizableLimits
impl Sync for ResizableLimits