#[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 Ord for ComponentTypeId
impl Ord for ComponentTypeId
source§fn cmp(&self, other: &ComponentTypeId) -> Ordering
fn cmp(&self, other: &ComponentTypeId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ComponentTypeId
impl PartialEq for ComponentTypeId
source§impl PartialOrd for ComponentTypeId
impl PartialOrd for ComponentTypeId
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
source§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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.