pub struct TypeEnumIndex(/* private fields */);
Expand description
Index pointing to an enum type in the component model.
Implementations§
Source§impl TypeEnumIndex
impl TypeEnumIndex
Trait Implementations§
Source§impl Clone for TypeEnumIndex
impl Clone for TypeEnumIndex
Source§fn clone(&self) -> TypeEnumIndex
fn clone(&self) -> TypeEnumIndex
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 TypeEnumIndex
impl Debug for TypeEnumIndex
Source§impl<'de> Deserialize<'de> for TypeEnumIndex
impl<'de> Deserialize<'de> for TypeEnumIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl EntityRef for TypeEnumIndex
impl EntityRef for TypeEnumIndex
Source§impl Hash for TypeEnumIndex
impl Hash for TypeEnumIndex
Source§impl Index<TypeEnumIndex> for ComponentTypes
impl Index<TypeEnumIndex> for ComponentTypes
Source§impl Index<TypeEnumIndex> for ComponentTypesBuilder
impl Index<TypeEnumIndex> for ComponentTypesBuilder
Source§impl Ord for TypeEnumIndex
impl Ord for TypeEnumIndex
Source§fn cmp(&self, other: &TypeEnumIndex) -> Ordering
fn cmp(&self, other: &TypeEnumIndex) -> 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 TypeEnumIndex
impl PartialEq for TypeEnumIndex
Source§impl PartialOrd for TypeEnumIndex
impl PartialOrd for TypeEnumIndex
Source§impl ReservedValue for TypeEnumIndex
impl ReservedValue for TypeEnumIndex
Source§fn reserved_value() -> TypeEnumIndex
fn reserved_value() -> TypeEnumIndex
Create an instance of the reserved value.
Source§fn is_reserved_value(&self) -> bool
fn is_reserved_value(&self) -> bool
Checks whether value is the reserved one.
Source§impl Serialize for TypeEnumIndex
impl Serialize for TypeEnumIndex
impl Copy for TypeEnumIndex
impl Eq for TypeEnumIndex
impl StructuralPartialEq for TypeEnumIndex
Auto Trait Implementations§
impl Freeze for TypeEnumIndex
impl RefUnwindSafe for TypeEnumIndex
impl Send for TypeEnumIndex
impl Sync for TypeEnumIndex
impl Unpin for TypeEnumIndex
impl UnwindSafe for TypeEnumIndex
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§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.