Struct wasmer_types::LocalMemoryIndex
source · pub struct LocalMemoryIndex(_);
Expand description
Index type of a memory defined locally inside the WebAssembly module.
Implementations
Trait Implementations
sourceimpl Clone for LocalMemoryIndex
impl Clone for LocalMemoryIndex
sourcefn clone(&self) -> LocalMemoryIndex
fn clone(&self) -> LocalMemoryIndex
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LocalMemoryIndex
impl Debug for LocalMemoryIndex
sourceimpl EntityRef for LocalMemoryIndex
impl EntityRef for LocalMemoryIndex
sourceimpl Hash for LocalMemoryIndex
impl Hash for LocalMemoryIndex
sourceimpl Ord for LocalMemoryIndex
impl Ord for LocalMemoryIndex
sourcefn cmp(&self, other: &LocalMemoryIndex) -> Ordering
fn cmp(&self, other: &LocalMemoryIndex) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<LocalMemoryIndex> for LocalMemoryIndex
impl PartialEq<LocalMemoryIndex> for LocalMemoryIndex
sourcefn eq(&self, other: &LocalMemoryIndex) -> bool
fn eq(&self, other: &LocalMemoryIndex) -> bool
sourceimpl PartialOrd<LocalMemoryIndex> for LocalMemoryIndex
impl PartialOrd<LocalMemoryIndex> for LocalMemoryIndex
sourcefn partial_cmp(&self, other: &LocalMemoryIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &LocalMemoryIndex) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl ReservedValue for LocalMemoryIndex
impl ReservedValue for LocalMemoryIndex
sourcefn reserved_value() -> LocalMemoryIndex
fn reserved_value() -> LocalMemoryIndex
Create an instance of the reserved value.
sourcefn is_reserved_value(&self) -> bool
fn is_reserved_value(&self) -> bool
Checks whether value is the reserved one.
impl Copy for LocalMemoryIndex
impl Eq for LocalMemoryIndex
impl StructuralEq for LocalMemoryIndex
impl StructuralPartialEq for LocalMemoryIndex
Auto Trait Implementations
impl RefUnwindSafe for LocalMemoryIndex
impl Send for LocalMemoryIndex
impl Sync for LocalMemoryIndex
impl Unpin for LocalMemoryIndex
impl UnwindSafe for LocalMemoryIndex
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.