pub struct CoreRefType {
pub nullable: bool,
pub heap_type: HeapType,
}
Expand description
Represents the type of a reference in a WebAssembly module.
Fields§
§nullable: bool
Whether or not the ref type is nullable.
heap_type: HeapType
The heap type of the ref type.
Trait Implementations§
Source§impl Clone for CoreRefType
impl Clone for CoreRefType
Source§fn clone(&self) -> CoreRefType
fn clone(&self) -> CoreRefType
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 CoreRefType
impl Debug for CoreRefType
Source§impl Display for CoreRefType
impl Display for CoreRefType
Source§impl From<CoreRefType> for RefType
impl From<CoreRefType> for RefType
Source§fn from(value: CoreRefType) -> Self
fn from(value: CoreRefType) -> Self
Converts to this type from the input type.
Source§impl From<RefType> for CoreRefType
impl From<RefType> for CoreRefType
Source§impl Hash for CoreRefType
impl Hash for CoreRefType
Source§impl PartialEq for CoreRefType
impl PartialEq for CoreRefType
impl Copy for CoreRefType
impl Eq for CoreRefType
impl StructuralPartialEq for CoreRefType
Auto Trait Implementations§
impl Freeze for CoreRefType
impl RefUnwindSafe for CoreRefType
impl Send for CoreRefType
impl Sync for CoreRefType
impl Unpin for CoreRefType
impl UnwindSafe for CoreRefType
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.