Struct wasmer_types::ArchivableIndexMap
source · [−]Expand description
Rkyv Archivable IndexMap
Trait Implementations
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
impl<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>
Performs the conversion.
impl<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
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
pub unsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
pub 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
Mutably borrows from an owned value. Read more