Enum wasm_encoder::HeapType
source · pub enum HeapType {
Abstract {
shared: bool,
ty: AbstractHeapType,
},
Concrete(u32),
}
Expand description
Part of the function references proposal.
Variants§
Abstract
An abstract heap type; e.g., anyref
.
Concrete(u32)
A concrete Wasm-defined type at the given index.
Implementations§
Trait Implementations§
source§impl Ord for HeapType
impl Ord for HeapType
source§impl PartialOrd for HeapType
impl PartialOrd for HeapType
impl Copy for HeapType
impl Eq for HeapType
impl StructuralPartialEq for HeapType
Auto Trait Implementations§
impl Freeze for HeapType
impl RefUnwindSafe for HeapType
impl Send for HeapType
impl Sync for HeapType
impl Unpin for HeapType
impl UnwindSafe for HeapType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)