#[repr(C)]pub struct ArchivedPrimaryMap<K, V>{ /* private fields */ }
Expand description
An archived PrimaryMap
Implementations§
source§impl<K, V> ArchivedPrimaryMap<K, V>
impl<K, V> ArchivedPrimaryMap<K, V>
source§impl<K, V> ArchivedPrimaryMap<K, V>
impl<K, V> ArchivedPrimaryMap<K, V>
Trait Implementations§
source§impl<K, V, __C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPrimaryMap<K, V>where
K: EntityRef,
Vec<V>: Archive,
PhantomData<K>: Archive,
<__C as Fallible>::Error: Trace,
<Vec<V> as Archive>::Archived: CheckBytes<__C>,
<PhantomData<K> as Archive>::Archived: CheckBytes<__C>,
impl<K, V, __C: Fallible + ?Sized> CheckBytes<__C> for ArchivedPrimaryMap<K, V>where
K: EntityRef,
Vec<V>: Archive,
PhantomData<K>: Archive,
<__C as Fallible>::Error: Trace,
<Vec<V> as Archive>::Archived: CheckBytes<__C>,
<PhantomData<K> as Archive>::Archived: CheckBytes<__C>,
source§impl<K, V> Debug for ArchivedPrimaryMap<K, V>
impl<K, V> Debug for ArchivedPrimaryMap<K, V>
source§impl<K, V> Index<K> for ArchivedPrimaryMap<K, V>
impl<K, V> Index<K> for ArchivedPrimaryMap<K, V>
Immutable indexing into an ArchivedPrimaryMap
.
The indexed value must be in the map.
impl<K, V> Portable for ArchivedPrimaryMap<K, V>
Auto Trait Implementations§
impl<K, V> !Freeze for ArchivedPrimaryMap<K, V>
impl<K, V> !RefUnwindSafe for ArchivedPrimaryMap<K, V>
impl<K, V> !Send for ArchivedPrimaryMap<K, V>
impl<K, V> !Sync for ArchivedPrimaryMap<K, V>
impl<K, V> !Unpin for ArchivedPrimaryMap<K, V>
impl<K, V> !UnwindSafe for ArchivedPrimaryMap<K, V>
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§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
source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§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.