Struct wasmer_types::module::ArchivedImportKey
source · #[repr(C)]pub struct ArchivedImportKey{
pub module: <String as Archive>::Archived,
pub field: <String as Archive>::Archived,
pub import_idx: <u32 as Archive>::Archived,
}
Expand description
An archived ImportKey
Fields§
§module: <String as Archive>::Archived
§field: <String as Archive>::Archived
§import_idx: <u32 as Archive>::Archived
Trait Implementations§
source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedImportKey
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedImportKey
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 ArchivedImportKey
impl Debug for ArchivedImportKey
source§impl Hash for ArchivedImportKey
impl Hash for ArchivedImportKey
source§impl Ord for ArchivedImportKey
impl Ord for ArchivedImportKey
source§fn cmp(&self, other: &ArchivedImportKey) -> Ordering
fn cmp(&self, other: &ArchivedImportKey) -> 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 ArchivedImportKey
impl PartialEq for ArchivedImportKey
source§fn eq(&self, other: &ArchivedImportKey) -> bool
fn eq(&self, other: &ArchivedImportKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ArchivedImportKey
impl PartialOrd for ArchivedImportKey
source§fn partial_cmp(&self, other: &ArchivedImportKey) -> Option<Ordering>
fn partial_cmp(&self, other: &ArchivedImportKey) -> 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 ArchivedImportKey
impl Portable for ArchivedImportKey
impl StructuralPartialEq for ArchivedImportKey
Auto Trait Implementations§
impl Freeze for ArchivedImportKey
impl RefUnwindSafe for ArchivedImportKey
impl Send for ArchivedImportKey
impl Sync for ArchivedImportKey
impl !Unpin for ArchivedImportKey
impl UnwindSafe for ArchivedImportKey
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.