pub enum RefType {
FuncRef,
ExternRef,
}
Expand description
Defines WasmEdge reference types.
Variants§
FuncRef
Refers to the infinite union of all references to host functions, regardless of their function types.
ExternRef
Refers to the infinite union of all references to objects and that can be passed into WebAssembly under this type.
Trait Implementations§
impl Copy for RefType
impl Eq for RefType
impl StructuralPartialEq for RefType
Auto Trait Implementations§
impl Freeze for RefType
impl RefUnwindSafe for RefType
impl Send for RefType
impl Sync for RefType
impl Unpin for RefType
impl UnwindSafe for RefType
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