Struct wasmer_types::indexes::ArchivedDataIndex
source · #[repr(C)]pub struct ArchivedDataIndex(<u32 as Archive>::Archived)
where
u32: Archive;
Expand description
An archived DataIndex
Tuple Fields§
§0: <u32 as Archive>::Archived
Trait Implementations§
source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDataIndex
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedDataIndex
source§unsafe fn check_bytes(
value: *const Self,
context: &mut __C,
) -> Result<(), <__C as Fallible>::Error>
unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>
Checks whether the given pointer points to a valid value within the
given context. Read more
source§impl Debug for ArchivedDataIndexwhere
u32: Archive,
impl Debug for ArchivedDataIndexwhere
u32: Archive,
source§impl Ord for ArchivedDataIndexwhere
u32: Archive,
impl Ord for ArchivedDataIndexwhere
u32: Archive,
source§fn cmp(&self, other: &ArchivedDataIndex) -> Ordering
fn cmp(&self, other: &ArchivedDataIndex) -> 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<ArchivedDataIndex> for DataIndex
impl PartialEq<ArchivedDataIndex> for DataIndex
source§fn eq(&self, other: &ArchivedDataIndex) -> bool
fn eq(&self, other: &ArchivedDataIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<DataIndex> for ArchivedDataIndex
impl PartialEq<DataIndex> for ArchivedDataIndex
source§impl PartialEq for ArchivedDataIndexwhere
u32: Archive,
impl PartialEq for ArchivedDataIndexwhere
u32: Archive,
source§fn eq(&self, other: &ArchivedDataIndex) -> bool
fn eq(&self, other: &ArchivedDataIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ArchivedDataIndex> for DataIndex
impl PartialOrd<ArchivedDataIndex> for DataIndex
source§fn partial_cmp(&self, other: &ArchivedDataIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &ArchivedDataIndex) -> 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 moresource§impl PartialOrd<DataIndex> for ArchivedDataIndex
impl PartialOrd<DataIndex> for ArchivedDataIndex
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 moresource§impl PartialOrd for ArchivedDataIndexwhere
u32: Archive,
impl PartialOrd for ArchivedDataIndexwhere
u32: Archive,
source§fn partial_cmp(&self, other: &ArchivedDataIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &ArchivedDataIndex) -> 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 Eq for ArchivedDataIndexwhere
u32: Archive,
impl Portable for ArchivedDataIndex
impl StructuralPartialEq for ArchivedDataIndexwhere
u32: Archive,
Auto Trait Implementations§
impl Freeze for ArchivedDataIndex
impl RefUnwindSafe for ArchivedDataIndex
impl Send for ArchivedDataIndex
impl Sync for ArchivedDataIndex
impl Unpin for ArchivedDataIndex
impl UnwindSafe for ArchivedDataIndex
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn 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.
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> 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.§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.