#[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§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§impl PartialOrd for ArchivedImportKey
impl PartialOrd for ArchivedImportKey
impl 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.