pub enum WasmReferenceType {
FuncRef,
ExternRef,
}Expand description
WASM 引用类型
Variants§
Trait Implementations§
Source§impl Clone for WasmReferenceType
impl Clone for WasmReferenceType
Source§fn clone(&self) -> WasmReferenceType
fn clone(&self) -> WasmReferenceType
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 WasmReferenceType
impl Debug for WasmReferenceType
impl Copy for WasmReferenceType
Auto Trait Implementations§
impl Freeze for WasmReferenceType
impl RefUnwindSafe for WasmReferenceType
impl Send for WasmReferenceType
impl Sync for WasmReferenceType
impl Unpin for WasmReferenceType
impl UnsafeUnpin for WasmReferenceType
impl UnwindSafe for WasmReferenceType
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