Enum wasmedge_sdk::RefType
source · 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§
source§impl PartialEq for RefType
impl PartialEq for RefType
impl Copy for RefType
impl Eq for RefType
impl StructuralEq for RefType
impl StructuralPartialEq for RefType
Auto Trait Implementations§
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