#[repr(C)]pub struct ArchivedKey(pub <SmallVec<[u8; 8]> as Archive>::Archived)
where
SmallVec<[u8; 8]>: Archive;Expand description
An archived Key
Tuple Fields§
§0: <SmallVec<[u8; 8]> as Archive>::ArchivedThe archived counterpart of Key::0
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedKey
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedKey
Source§impl Debug for ArchivedKey
impl Debug for ArchivedKey
Source§impl Ord for ArchivedKey
impl Ord for ArchivedKey
Source§fn cmp(&self, other: &ArchivedKey) -> Ordering
fn cmp(&self, other: &ArchivedKey) -> 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 ArchivedKey
impl PartialEq for ArchivedKey
Source§impl PartialOrd for ArchivedKey
impl PartialOrd for ArchivedKey
impl Eq for ArchivedKey
impl Portable for ArchivedKey
impl StructuralPartialEq for ArchivedKey
Auto Trait Implementations§
impl Freeze for ArchivedKey
impl RefUnwindSafe for ArchivedKey
impl Send for ArchivedKey
impl Sync for ArchivedKey
impl !Unpin for ArchivedKey
impl !UnsafeUnpin for ArchivedKey
impl UnwindSafe for ArchivedKey
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> 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<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.