Struct wasmtime_environ::component::TypeEnumIndex
source · 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§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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.