#[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<__C: ?Sized, K, V> CheckBytes<__C> for ArchivedPrimaryMap<K, V>where
K: EntityRef,
Vec<V>: Archive,
PhantomData<K>: Archive,
Archived<Vec<V>>: CheckBytes<__C>,
Archived<PhantomData<K>>: CheckBytes<__C>,
impl<__C: ?Sized, K, V> CheckBytes<__C> for ArchivedPrimaryMap<K, V>where
K: EntityRef,
Vec<V>: Archive,
PhantomData<K>: Archive,
Archived<Vec<V>>: CheckBytes<__C>,
Archived<PhantomData<K>>: CheckBytes<__C>,
source§type Error = StructCheckError
type Error = StructCheckError
The error that may result from checking the type.
source§unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C,
) -> Result<&'__bytecheck Self, StructCheckError>
unsafe fn check_bytes<'__bytecheck>( value: *const Self, context: &mut __C, ) -> Result<&'__bytecheck Self, StructCheckError>
Checks whether the given pointer points to a valid value within the
given context. Read more
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.
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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
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>
Gets the layout of the type.