Struct wasmtime_environ::wasm::ElemIndex [−][src]
pub struct ElemIndex(_);
Expand description
Index type of a passive element segment inside the WebAssembly module.
Implementations
Trait Implementations
impl<'de> Deserialize<'de> for ElemIndex
[src]
impl<'de> Deserialize<'de> for ElemIndex
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ElemIndex, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ElemIndex, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Ord for ElemIndex
[src]
impl Ord for ElemIndex
[src]impl PartialOrd<ElemIndex> for ElemIndex
[src]
impl PartialOrd<ElemIndex> for ElemIndex
[src]pub fn partial_cmp(&self, other: &ElemIndex) -> Option<Ordering>
[src]
pub fn partial_cmp(&self, other: &ElemIndex) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl ReservedValue for ElemIndex
[src]
impl ReservedValue for ElemIndex
[src]pub fn reserved_value() -> ElemIndex
[src]
pub fn reserved_value() -> ElemIndex
[src]Create an instance of the reserved value.
pub fn is_reserved_value(&self) -> bool
[src]
pub fn is_reserved_value(&self) -> bool
[src]Checks whether value is the reserved one.
impl Serialize for ElemIndex
[src]
impl Serialize for ElemIndex
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
impl Copy for ElemIndex
[src]
impl Eq for ElemIndex
[src]
impl StructuralEq for ElemIndex
[src]
impl StructuralPartialEq for ElemIndex
[src]
Auto Trait Implementations
impl RefUnwindSafe for ElemIndex
impl Send for ElemIndex
impl Sync for ElemIndex
impl Unpin for ElemIndex
impl UnwindSafe for ElemIndex
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> SparseMapValue<T> for T where
T: EntityRef,
[src]
impl<T> SparseMapValue<T> for T where
T: EntityRef,
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,