Struct wasmparser::types::CoreTypeId
source · #[repr(C)]pub struct CoreTypeId { /* private fields */ }
Expand description
Represents a unique identifier for a core type type known to a
crate::Validator
Trait Implementations§
source§impl Clone for CoreTypeId
impl Clone for CoreTypeId
source§fn clone(&self) -> CoreTypeId
fn clone(&self) -> CoreTypeId
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 CoreTypeId
impl Debug for CoreTypeId
source§impl From<CoreTypeId> for AnyTypeId
impl From<CoreTypeId> for AnyTypeId
source§fn from(x: CoreTypeId) -> Self
fn from(x: CoreTypeId) -> Self
Converts to this type from the input type.
source§impl From<CoreTypeId> for ComponentCoreTypeId
impl From<CoreTypeId> for ComponentCoreTypeId
source§fn from(x: CoreTypeId) -> Self
fn from(x: CoreTypeId) -> Self
Converts to this type from the input type.
source§impl Hash for CoreTypeId
impl Hash for CoreTypeId
source§impl PartialEq for CoreTypeId
impl PartialEq for CoreTypeId
source§fn eq(&self, other: &CoreTypeId) -> bool
fn eq(&self, other: &CoreTypeId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<AnyTypeId> for CoreTypeId
impl TryFrom<AnyTypeId> for CoreTypeId
source§impl TryFrom<ComponentCoreTypeId> for CoreTypeId
impl TryFrom<ComponentCoreTypeId> for CoreTypeId
source§impl TypeIdentifier for CoreTypeId
impl TypeIdentifier for CoreTypeId
impl Copy for CoreTypeId
impl Eq for CoreTypeId
impl StructuralEq for CoreTypeId
impl StructuralPartialEq for CoreTypeId
Auto Trait Implementations§
impl RefUnwindSafe for CoreTypeId
impl Send for CoreTypeId
impl Sync for CoreTypeId
impl Unpin for CoreTypeId
impl UnwindSafe for CoreTypeId
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.