Struct wasmer_types::ArchivableIndexMap
source · [−]Expand description
Rkyv Archivable IndexMap
Trait Implementations
sourceimpl<K: Hash + Ord + Archive, V: Archive> Archive for ArchivableIndexMap<K, V> where
Vec<(K, V)>: Archive,
impl<K: Hash + Ord + Archive, V: Archive> Archive for ArchivableIndexMap<K, V> where
Vec<(K, V)>: Archive,
sourceimpl<__D: Fallible + ?Sized, K: Hash + Ord + Archive, V: Archive> Deserialize<ArchivableIndexMap<K, V>, __D> for Archived<ArchivableIndexMap<K, V>> where
Vec<(K, V)>: Archive,
Archived<Vec<(K, V)>>: Deserialize<Vec<(K, V)>, __D>,
impl<__D: Fallible + ?Sized, K: Hash + Ord + Archive, V: Archive> Deserialize<ArchivableIndexMap<K, V>, __D> for Archived<ArchivableIndexMap<K, V>> where
Vec<(K, V)>: Archive,
Archived<Vec<(K, V)>>: Deserialize<Vec<(K, V)>, __D>,
sourcefn 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
sourceimpl<K: Hash + Ord + Archive + Clone, V: Archive> From<IndexMap<K, V, RandomState>> for ArchivableIndexMap<K, V>
impl<K: Hash + Ord + Archive + Clone, V: Archive> From<IndexMap<K, V, RandomState>> for ArchivableIndexMap<K, V>
sourceimpl<K: Hash + Ord + Archive + Clone, V: Archive> Into<IndexMap<K, V, RandomState>> for ArchivableIndexMap<K, V>
impl<K: Hash + Ord + Archive + Clone, V: Archive> Into<IndexMap<K, V, RandomState>> for ArchivableIndexMap<K, V>
Auto Trait Implementations
impl<K, V> RefUnwindSafe for ArchivableIndexMap<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for ArchivableIndexMap<K, V> where
K: Send,
V: Send,
impl<K, V> Sync for ArchivableIndexMap<K, V> where
K: Sync,
V: Sync,
impl<K, V> Unpin for ArchivableIndexMap<K, V> where
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for ArchivableIndexMap<K, V> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn 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.
sourceimpl<T> ArchiveUnsized for T where
T: Archive,
impl<T> ArchiveUnsized for T where
T: Archive,
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 more
type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
sourceunsafe 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more