Struct ComponentInstanceTypeId
pub struct ComponentInstanceTypeId { /* private fields */ }
Expand description
Represents a unique identifier for a
component instance
type known to a crate::Validator
.
Trait Implementations§
§impl Clone for ComponentInstanceTypeId
impl Clone for ComponentInstanceTypeId
§fn clone(&self) -> ComponentInstanceTypeId
fn clone(&self) -> ComponentInstanceTypeId
Returns a duplicate 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 more§impl Debug for ComponentInstanceTypeId
impl Debug for ComponentInstanceTypeId
§impl From<ComponentInstanceTypeId> for AnyTypeId
impl From<ComponentInstanceTypeId> for AnyTypeId
§fn from(x: ComponentInstanceTypeId) -> AnyTypeId
fn from(x: ComponentInstanceTypeId) -> AnyTypeId
Converts to this type from the input type.
§impl From<ComponentInstanceTypeId> for ComponentAnyTypeId
impl From<ComponentInstanceTypeId> for ComponentAnyTypeId
§fn from(x: ComponentInstanceTypeId) -> ComponentAnyTypeId
fn from(x: ComponentInstanceTypeId) -> ComponentAnyTypeId
Converts to this type from the input type.
§impl Hash for ComponentInstanceTypeId
impl Hash for ComponentInstanceTypeId
§impl Ord for ComponentInstanceTypeId
impl Ord for ComponentInstanceTypeId
§fn cmp(&self, other: &ComponentInstanceTypeId) -> Ordering
fn cmp(&self, other: &ComponentInstanceTypeId) -> 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
§impl PartialEq for ComponentInstanceTypeId
impl PartialEq for ComponentInstanceTypeId
§impl PartialOrd for ComponentInstanceTypeId
impl PartialOrd for ComponentInstanceTypeId
§impl TryFrom<AnyTypeId> for ComponentInstanceTypeId
impl TryFrom<AnyTypeId> for ComponentInstanceTypeId
§impl TryFrom<ComponentAnyTypeId> for ComponentInstanceTypeId
impl TryFrom<ComponentAnyTypeId> for ComponentInstanceTypeId
§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.
§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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more