Enum wasmparser::InterfaceTypeRef
source · pub enum InterfaceTypeRef {
Primitive(PrimitiveInterfaceType),
Type(u32),
}
Expand description
Represents a reference to an interface type.
Variants§
Primitive(PrimitiveInterfaceType)
The reference is to a primitive interface type.
Type(u32)
The reference is to an interface type defined in a type section.
Trait Implementations§
source§impl Clone for InterfaceTypeRef
impl Clone for InterfaceTypeRef
source§fn clone(&self) -> InterfaceTypeRef
fn clone(&self) -> InterfaceTypeRef
Returns a copy 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 InterfaceTypeRef
impl Debug for InterfaceTypeRef
source§impl PartialEq<InterfaceTypeRef> for InterfaceTypeRef
impl PartialEq<InterfaceTypeRef> for InterfaceTypeRef
source§fn eq(&self, other: &InterfaceTypeRef) -> bool
fn eq(&self, other: &InterfaceTypeRef) -> bool
impl Copy for InterfaceTypeRef
impl Eq for InterfaceTypeRef
impl StructuralEq for InterfaceTypeRef
impl StructuralPartialEq for InterfaceTypeRef
Auto Trait Implementations§
impl RefUnwindSafe for InterfaceTypeRef
impl Send for InterfaceTypeRef
impl Sync for InterfaceTypeRef
impl Unpin for InterfaceTypeRef
impl UnwindSafe for InterfaceTypeRef
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.