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 Ord for CoreTypeId
impl Ord for CoreTypeId
source§fn cmp(&self, other: &CoreTypeId) -> Ordering
fn cmp(&self, other: &CoreTypeId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
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 PartialOrd for CoreTypeId
impl PartialOrd for CoreTypeId
source§fn partial_cmp(&self, other: &CoreTypeId) -> Option<Ordering>
fn partial_cmp(&self, other: &CoreTypeId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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 StructuralPartialEq for CoreTypeId
Auto Trait Implementations§
impl Freeze for CoreTypeId
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.