#[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.