pub enum FunctionReferencesOperator {
CallRef {
type_index: u32,
},
ReturnCallRef {
type_index: u32,
},
RefAsNonNull,
BrOnNull {
relative_depth: u32,
},
BrOnNonNull {
relative_depth: u32,
},
}Expand description
A subset of WebAssembly operations given by the FunctionReferences proposal
Variants§
Implementations§
Trait Implementations§
source§impl Clone for FunctionReferencesOperator
impl Clone for FunctionReferencesOperator
source§fn clone(&self) -> FunctionReferencesOperator
fn clone(&self) -> FunctionReferencesOperator
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 FunctionReferencesOperator
impl Debug for FunctionReferencesOperator
source§impl<'a> From<FunctionReferencesOperator> for Operator<'a>
impl<'a> From<FunctionReferencesOperator> for Operator<'a>
source§fn from(op: FunctionReferencesOperator) -> Self
fn from(op: FunctionReferencesOperator) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for FunctionReferencesOperator
impl Send for FunctionReferencesOperator
impl Sync for FunctionReferencesOperator
impl Unpin for FunctionReferencesOperator
impl UnwindSafe for FunctionReferencesOperator
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