Struct wasmtime_environ::component::TypeComponentIndex
source · pub struct TypeComponentIndex(/* private fields */);
Expand description
Index pointing to a component’s type (exports/imports with component-model types)
Implementations§
Trait Implementations§
source§impl Clone for TypeComponentIndex
impl Clone for TypeComponentIndex
source§fn clone(&self) -> TypeComponentIndex
fn clone(&self) -> TypeComponentIndex
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 TypeComponentIndex
impl Debug for TypeComponentIndex
source§impl<'de> Deserialize<'de> for TypeComponentIndex
impl<'de> Deserialize<'de> for TypeComponentIndex
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 TypeComponentIndex
impl EntityRef for TypeComponentIndex
source§impl Hash for TypeComponentIndex
impl Hash for TypeComponentIndex
source§impl Index<TypeComponentIndex> for ComponentTypes
impl Index<TypeComponentIndex> for ComponentTypes
source§type Output = TypeComponent
type Output = TypeComponent
The returned type after indexing.
source§fn index(&self, idx: TypeComponentIndex) -> &TypeComponent
fn index(&self, idx: TypeComponentIndex) -> &TypeComponent
Performs the indexing (
container[index]
) operation. Read moresource§impl Index<TypeComponentIndex> for ComponentTypesBuilder
impl Index<TypeComponentIndex> for ComponentTypesBuilder
source§type Output = TypeComponent
type Output = TypeComponent
The returned type after indexing.
source§fn index(&self, idx: TypeComponentIndex) -> &TypeComponent
fn index(&self, idx: TypeComponentIndex) -> &TypeComponent
Performs the indexing (
container[index]
) operation. Read moresource§impl Ord for TypeComponentIndex
impl Ord for TypeComponentIndex
source§fn cmp(&self, other: &TypeComponentIndex) -> Ordering
fn cmp(&self, other: &TypeComponentIndex) -> 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 TypeComponentIndex
impl PartialEq for TypeComponentIndex
source§impl PartialOrd for TypeComponentIndex
impl PartialOrd for TypeComponentIndex
source§impl ReservedValue for TypeComponentIndex
impl ReservedValue for TypeComponentIndex
source§fn reserved_value() -> TypeComponentIndex
fn reserved_value() -> TypeComponentIndex
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 TypeComponentIndex
impl Serialize for TypeComponentIndex
impl Copy for TypeComponentIndex
impl Eq for TypeComponentIndex
impl StructuralPartialEq for TypeComponentIndex
Auto Trait Implementations§
impl Freeze for TypeComponentIndex
impl RefUnwindSafe for TypeComponentIndex
impl Send for TypeComponentIndex
impl Sync for TypeComponentIndex
impl Unpin for TypeComponentIndex
impl UnwindSafe for TypeComponentIndex
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.