Struct wasmtime_runtime::MemoryAllocationIndex
source · pub struct MemoryAllocationIndex(/* private fields */);Expand description
The index of a memory allocation within an InstanceAllocator.
Implementations§
Trait Implementations§
source§impl Clone for MemoryAllocationIndex
impl Clone for MemoryAllocationIndex
source§fn clone(&self) -> MemoryAllocationIndex
fn clone(&self) -> MemoryAllocationIndex
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 MemoryAllocationIndex
impl Debug for MemoryAllocationIndex
source§impl Default for MemoryAllocationIndex
impl Default for MemoryAllocationIndex
source§impl Ord for MemoryAllocationIndex
impl Ord for MemoryAllocationIndex
source§fn cmp(&self, other: &MemoryAllocationIndex) -> Ordering
fn cmp(&self, other: &MemoryAllocationIndex) -> 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 MemoryAllocationIndex
impl PartialEq for MemoryAllocationIndex
source§fn eq(&self, other: &MemoryAllocationIndex) -> bool
fn eq(&self, other: &MemoryAllocationIndex) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for MemoryAllocationIndex
impl PartialOrd for MemoryAllocationIndex
source§fn partial_cmp(&self, other: &MemoryAllocationIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &MemoryAllocationIndex) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for MemoryAllocationIndex
impl Eq for MemoryAllocationIndex
impl StructuralEq for MemoryAllocationIndex
impl StructuralPartialEq for MemoryAllocationIndex
Auto Trait Implementations§
impl RefUnwindSafe for MemoryAllocationIndex
impl Send for MemoryAllocationIndex
impl Sync for MemoryAllocationIndex
impl Unpin for MemoryAllocationIndex
impl UnwindSafe for MemoryAllocationIndex
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.