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