#[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.