Struct cranelift_wasm::wasmparser::types::ComponentTypeId
source · #[repr(C)]pub struct ComponentTypeId { /* private fields */ }
Expand description
Represents a unique identifier for a
component
type known to a crate::Validator
.
Trait Implementations§
source§impl Clone for ComponentTypeId
impl Clone for ComponentTypeId
source§fn clone(&self) -> ComponentTypeId
fn clone(&self) -> ComponentTypeId
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 ComponentTypeId
impl Debug for ComponentTypeId
source§impl From<ComponentTypeId> for AnyTypeId
impl From<ComponentTypeId> for AnyTypeId
source§fn from(x: ComponentTypeId) -> AnyTypeId
fn from(x: ComponentTypeId) -> AnyTypeId
Converts to this type from the input type.
source§impl From<ComponentTypeId> for ComponentAnyTypeId
impl From<ComponentTypeId> for ComponentAnyTypeId
source§fn from(x: ComponentTypeId) -> ComponentAnyTypeId
fn from(x: ComponentTypeId) -> ComponentAnyTypeId
Converts to this type from the input type.
source§impl Hash for ComponentTypeId
impl Hash for ComponentTypeId
source§impl PartialEq for ComponentTypeId
impl PartialEq for ComponentTypeId
source§fn eq(&self, other: &ComponentTypeId) -> bool
fn eq(&self, other: &ComponentTypeId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<AnyTypeId> for ComponentTypeId
impl TryFrom<AnyTypeId> for ComponentTypeId
source§impl TryFrom<ComponentAnyTypeId> for ComponentTypeId
impl TryFrom<ComponentAnyTypeId> for ComponentTypeId
source§fn try_from(
x: ComponentAnyTypeId
) -> Result<ComponentTypeId, <ComponentTypeId as TryFrom<ComponentAnyTypeId>>::Error>
fn try_from( x: ComponentAnyTypeId ) -> Result<ComponentTypeId, <ComponentTypeId as TryFrom<ComponentAnyTypeId>>::Error>
Performs the conversion.
source§impl TypeIdentifier for ComponentTypeId
impl TypeIdentifier for ComponentTypeId
§type Data = ComponentType
type Data = ComponentType
The data pointed to by this type of id.
impl Aliasable for ComponentTypeId
impl Copy for ComponentTypeId
impl Eq for ComponentTypeId
impl StructuralPartialEq for ComponentTypeId
Auto Trait Implementations§
impl Freeze for ComponentTypeId
impl RefUnwindSafe for ComponentTypeId
impl Send for ComponentTypeId
impl Sync for ComponentTypeId
impl Unpin for ComponentTypeId
impl UnwindSafe for ComponentTypeId
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.