pub enum ReferenceTypesOperator {
TypedSelect {
ty: ValType,
},
RefNull {
hty: HeapType,
},
RefIsNull,
RefFunc {
function_index: u32,
},
TableFill {
table: u32,
},
TableGet {
table: u32,
},
TableSet {
table: u32,
},
TableGrow {
table: u32,
},
TableSize {
table: u32,
},
}Expand description
A subset of WebAssembly operations given by the ReferenceTypes proposal
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ReferenceTypesOperator
impl Clone for ReferenceTypesOperator
Source§fn clone(&self) -> ReferenceTypesOperator
fn clone(&self) -> ReferenceTypesOperator
Returns a duplicate 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 ReferenceTypesOperator
impl Debug for ReferenceTypesOperator
Source§impl<'a> From<ReferenceTypesOperator> for Operator<'a>
impl<'a> From<ReferenceTypesOperator> for Operator<'a>
Source§fn from(op: ReferenceTypesOperator) -> Self
fn from(op: ReferenceTypesOperator) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReferenceTypesOperator
impl RefUnwindSafe for ReferenceTypesOperator
impl Send for ReferenceTypesOperator
impl Sync for ReferenceTypesOperator
impl Unpin for ReferenceTypesOperator
impl UnwindSafe for ReferenceTypesOperator
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