Struct wasmparser::types::ComponentCoreModuleTypeId
source · #[repr(C)]pub struct ComponentCoreModuleTypeId { /* private fields */ }
Expand description
Represents a unique identifier for a
component’s core module
type known to a crate::Validator
.
Trait Implementations§
source§impl Clone for ComponentCoreModuleTypeId
impl Clone for ComponentCoreModuleTypeId
source§fn clone(&self) -> ComponentCoreModuleTypeId
fn clone(&self) -> ComponentCoreModuleTypeId
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 ComponentCoreModuleTypeId
impl Debug for ComponentCoreModuleTypeId
source§impl From<ComponentCoreModuleTypeId> for AnyTypeId
impl From<ComponentCoreModuleTypeId> for AnyTypeId
source§fn from(x: ComponentCoreModuleTypeId) -> Self
fn from(x: ComponentCoreModuleTypeId) -> Self
Converts to this type from the input type.
source§impl From<ComponentCoreModuleTypeId> for ComponentCoreTypeId
impl From<ComponentCoreModuleTypeId> for ComponentCoreTypeId
source§fn from(x: ComponentCoreModuleTypeId) -> Self
fn from(x: ComponentCoreModuleTypeId) -> Self
Converts to this type from the input type.
source§impl Hash for ComponentCoreModuleTypeId
impl Hash for ComponentCoreModuleTypeId
source§impl PartialEq for ComponentCoreModuleTypeId
impl PartialEq for ComponentCoreModuleTypeId
source§fn eq(&self, other: &ComponentCoreModuleTypeId) -> bool
fn eq(&self, other: &ComponentCoreModuleTypeId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<AnyTypeId> for ComponentCoreModuleTypeId
impl TryFrom<AnyTypeId> for ComponentCoreModuleTypeId
source§impl TypeIdentifier for ComponentCoreModuleTypeId
impl TypeIdentifier for ComponentCoreModuleTypeId
§type Data = ModuleType
type Data = ModuleType
The data pointed to by this type of id.
impl Aliasable for ComponentCoreModuleTypeId
impl Copy for ComponentCoreModuleTypeId
impl Eq for ComponentCoreModuleTypeId
impl StructuralEq for ComponentCoreModuleTypeId
impl StructuralPartialEq for ComponentCoreModuleTypeId
Auto Trait Implementations§
impl RefUnwindSafe for ComponentCoreModuleTypeId
impl Send for ComponentCoreModuleTypeId
impl Sync for ComponentCoreModuleTypeId
impl Unpin for ComponentCoreModuleTypeId
impl UnwindSafe for ComponentCoreModuleTypeId
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> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.