pub struct ArchivableIndexMap<K: Hash + Ord + Archive, V: Archive> { /* private fields */ }
Expand description
See IndexMap
Trait Implementations§
Source§impl<K: Hash + Ord + Archive, V: Archive> Archive for ArchivableIndexMap<K, V>
impl<K: Hash + Ord + Archive, V: Archive> Archive for ArchivableIndexMap<K, V>
Source§type Archived = ArchivedArchivableIndexMap<K, V>
type Archived = ArchivedArchivableIndexMap<K, V>
The archived representation of this type. Read more
Source§impl<__D: Fallible + ?Sized, K: Hash + Ord + Archive, V: Archive> Deserialize<ArchivableIndexMap<K, V>, __D> for Archived<ArchivableIndexMap<K, V>>
impl<__D: Fallible + ?Sized, K: Hash + Ord + Archive, V: Archive> Deserialize<ArchivableIndexMap<K, V>, __D> for Archived<ArchivableIndexMap<K, V>>
Source§fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<ArchivableIndexMap<K, V>, __D::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<ArchivableIndexMap<K, V>, __D::Error>
Deserializes using the given deserializer
Source§impl<K: Hash + Ord + Archive + Clone, V: Archive> From<IndexMap<K, V>> for ArchivableIndexMap<K, V>
impl<K: Hash + Ord + Archive + Clone, V: Archive> From<IndexMap<K, V>> for ArchivableIndexMap<K, V>
Source§fn from(it: IndexMap<K, V>) -> ArchivableIndexMap<K, V>
fn from(it: IndexMap<K, V>) -> ArchivableIndexMap<K, V>
Converts to this type from the input type.
Source§impl<K: Hash + Ord + Archive + Clone, V: Archive> Into<IndexMap<K, V>> for ArchivableIndexMap<K, V>
impl<K: Hash + Ord + Archive + Clone, V: Archive> Into<IndexMap<K, V>> for ArchivableIndexMap<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for ArchivableIndexMap<K, V>
impl<K, V> RefUnwindSafe for ArchivableIndexMap<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for ArchivableIndexMap<K, V>
impl<K, V> Sync for ArchivableIndexMap<K, V>
impl<K, V> Unpin for ArchivableIndexMap<K, V>
impl<K, V> UnwindSafe for ArchivableIndexMap<K, V>where
K: UnwindSafe,
V: UnwindSafe,
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> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
Source§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive
, it may be unsized. Read moreSource§type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
Source§unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata,
)
unsafe fn resolve_metadata( &self, _: usize, _: <T as ArchiveUnsized>::MetadataResolver, _: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, )
Creates the archived version of the metadata for this value at the given position and writes
it to the given output. Read more
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