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