pub enum MemoryControlOperator {
MemoryDiscard {
mem: u32,
},
}Expand description
A subset of WebAssembly operations given by the MemoryControl proposal
Variants§
Implementations§
Trait Implementations§
source§impl Clone for MemoryControlOperator
impl Clone for MemoryControlOperator
source§fn clone(&self) -> MemoryControlOperator
fn clone(&self) -> MemoryControlOperator
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MemoryControlOperator
impl Debug for MemoryControlOperator
source§impl<'a> From<MemoryControlOperator> for Operator<'a>
impl<'a> From<MemoryControlOperator> for Operator<'a>
source§fn from(op: MemoryControlOperator) -> Self
fn from(op: MemoryControlOperator) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MemoryControlOperator
impl Send for MemoryControlOperator
impl Sync for MemoryControlOperator
impl Unpin for MemoryControlOperator
impl UnwindSafe for MemoryControlOperator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more