Struct wasmtime_environ::wasmparser::types::CoreTypeId
#[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§
§impl Clone for CoreTypeId
impl Clone for CoreTypeId
§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 more§impl Debug for CoreTypeId
impl Debug for CoreTypeId
§impl From<CoreTypeId> for AnyTypeId
impl From<CoreTypeId> for AnyTypeId
§fn from(x: CoreTypeId) -> AnyTypeId
fn from(x: CoreTypeId) -> AnyTypeId
Converts to this type from the input type.
§impl From<CoreTypeId> for ComponentCoreTypeId
impl From<CoreTypeId> for ComponentCoreTypeId
§fn from(x: CoreTypeId) -> ComponentCoreTypeId
fn from(x: CoreTypeId) -> ComponentCoreTypeId
Converts to this type from the input type.
§impl Hash for CoreTypeId
impl Hash for CoreTypeId
§impl Ord for CoreTypeId
impl Ord for CoreTypeId
§impl PartialEq for CoreTypeId
impl PartialEq for CoreTypeId
§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 ==
.§impl PartialOrd for CoreTypeId
impl PartialOrd for CoreTypeId
§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 more§impl TryFrom<AnyTypeId> for CoreTypeId
impl TryFrom<AnyTypeId> for CoreTypeId
§impl TryFrom<ComponentCoreTypeId> for CoreTypeId
impl TryFrom<ComponentCoreTypeId> for CoreTypeId
§fn try_from(
x: ComponentCoreTypeId,
) -> Result<CoreTypeId, <CoreTypeId as TryFrom<ComponentCoreTypeId>>::Error>
fn try_from( x: ComponentCoreTypeId, ) -> Result<CoreTypeId, <CoreTypeId as TryFrom<ComponentCoreTypeId>>::Error>
Performs the conversion.
§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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.