Struct cranelift_wasm::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) -> AnyTypeId
fn from(x: CoreTypeId) -> AnyTypeId
Converts to this type from the input type.
source§impl From<CoreTypeId> for ComponentCoreTypeId
impl From<CoreTypeId> for ComponentCoreTypeId
source§fn from(x: CoreTypeId) -> ComponentCoreTypeId
fn from(x: CoreTypeId) -> ComponentCoreTypeId
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§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.
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<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.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more