pub struct LoweredIndex(/* private fields */);
Expand description
Index that represents a lowered host function and is used to represent host function lowerings with options and such.
This does not correspond to anything in the binary format for the component model.
Implementations§
source§impl LoweredIndex
impl LoweredIndex
Trait Implementations§
source§impl Clone for LoweredIndex
impl Clone for LoweredIndex
source§fn clone(&self) -> LoweredIndex
fn clone(&self) -> LoweredIndex
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 LoweredIndex
impl Debug for LoweredIndex
source§impl<'de> Deserialize<'de> for LoweredIndex
impl<'de> Deserialize<'de> for LoweredIndex
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 LoweredIndex
impl EntityRef for LoweredIndex
source§impl Hash for LoweredIndex
impl Hash for LoweredIndex
source§impl Ord for LoweredIndex
impl Ord for LoweredIndex
source§fn cmp(&self, other: &LoweredIndex) -> Ordering
fn cmp(&self, other: &LoweredIndex) -> 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 LoweredIndex
impl PartialEq for LoweredIndex
source§impl PartialOrd for LoweredIndex
impl PartialOrd for LoweredIndex
source§impl ReservedValue for LoweredIndex
impl ReservedValue for LoweredIndex
source§fn reserved_value() -> LoweredIndex
fn reserved_value() -> LoweredIndex
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 LoweredIndex
impl Serialize for LoweredIndex
impl Copy for LoweredIndex
impl Eq for LoweredIndex
impl StructuralPartialEq for LoweredIndex
Auto Trait Implementations§
impl Freeze for LoweredIndex
impl RefUnwindSafe for LoweredIndex
impl Send for LoweredIndex
impl Sync for LoweredIndex
impl Unpin for LoweredIndex
impl UnwindSafe for LoweredIndex
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.