Struct wasmtime_environ::wasmparser::PackedIndex
source · #[repr(packed)]pub struct PackedIndex(_);
Expand description
Used as a performance optimization in HeapType. Call .into()
to get the u32
Trait Implementations§
source§impl Clone for PackedIndex
impl Clone for PackedIndex
source§fn clone(&self) -> PackedIndex
fn clone(&self) -> PackedIndex
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 PackedIndex
impl Debug for PackedIndex
source§impl From<PackedIndex> for u32
impl From<PackedIndex> for u32
source§fn from(x: PackedIndex) -> u32
fn from(x: PackedIndex) -> u32
Converts to this type from the input type.
source§impl Hash for PackedIndex
impl Hash for PackedIndex
source§impl PartialEq<PackedIndex> for PackedIndex
impl PartialEq<PackedIndex> for PackedIndex
source§fn eq(&self, other: &PackedIndex) -> bool
fn eq(&self, other: &PackedIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for PackedIndex
impl TryFrom<u32> for PackedIndex
impl Copy for PackedIndex
impl Eq for PackedIndex
impl StructuralEq for PackedIndex
impl StructuralPartialEq for PackedIndex
Auto Trait Implementations§
impl RefUnwindSafe for PackedIndex
impl Send for PackedIndex
impl Sync for PackedIndex
impl Unpin for PackedIndex
impl UnwindSafe for PackedIndex
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<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.