Struct wasmer_types::ArchivableIndexMap [−][src]
Expand description
Rkyv Archivable IndexMap
Trait Implementations
impl<K: Hash + Eq + Archive, V: Archive> Archive for ArchivableIndexMap<K, V> where
HashMap<K, u64>: Archive,
Vec<(K, V)>: Archive,
[src]
impl<K: Hash + Eq + Archive, V: Archive> Archive for ArchivableIndexMap<K, V> where
HashMap<K, u64>: Archive,
Vec<(K, V)>: Archive,
[src]impl<K: Hash + Eq + Archive + Clone, V: Archive> From<IndexMap<K, V, RandomState>> for ArchivableIndexMap<K, V>
[src]
impl<K: Hash + Eq + Archive + Clone, V: Archive> From<IndexMap<K, V, RandomState>> for ArchivableIndexMap<K, V>
[src]fn from(it: IndexMap<K, V>) -> ArchivableIndexMap<K, V>
[src]
fn from(it: IndexMap<K, V>) -> ArchivableIndexMap<K, V>
[src]Performs the conversion.
impl<K: Hash + Eq + Archive + Clone, V: Archive> Into<IndexMap<K, V, RandomState>> for ArchivableIndexMap<K, V>
[src]
impl<K: Hash + Eq + Archive + Clone, V: Archive> Into<IndexMap<K, V, RandomState>> for ArchivableIndexMap<K, V>
[src]Auto Trait Implementations
impl<K, V> RefUnwindSafe for ArchivableIndexMap<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for ArchivableIndexMap<K, V> where
K: Send,
V: Send,
K: Send,
V: Send,
impl<K, V> Sync for ArchivableIndexMap<K, V> where
K: Sync,
V: Sync,
K: Sync,
V: Sync,
impl<K, V> Unpin for ArchivableIndexMap<K, V> where
K: Unpin,
V: Unpin,
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for ArchivableIndexMap<K, V> where
K: UnwindSafe,
V: UnwindSafe,
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> ArchivePointee for T
[src]
impl<T> ArchivePointee for T
[src]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
[src]
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
[src]Converts some archived metadata to the pointer metadata for itself.
impl<T> ArchiveUnsized for T where
T: Archive,
[src]
impl<T> ArchiveUnsized for T where
T: Archive,
[src]type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike Archive
, it may be unsized.
type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type.
pub fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
&mut MaybeUninit<<<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata>
)
[src]
pub fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
&mut MaybeUninit<<<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata>
)
[src]Creates the archived version of the metadata for this value at the given position and writes it to the given output. Read more
fn resolve_unsized(
&self,
from: usize,
to: usize,
resolver: Self::MetadataResolver,
out: &mut MaybeUninit<RelPtr<Self::Archived>>
)
[src]
fn resolve_unsized(
&self,
from: usize,
to: usize,
resolver: Self::MetadataResolver,
out: &mut MaybeUninit<RelPtr<Self::Archived>>
)
[src]Resolves a relative pointer to this value with the given from
and to
and writes it to
the given output. Read more
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T, S> SerializeUnsized<S> for T where
T: Serialize<S>,
S: Serializer + ?Sized,
[src]
impl<T, S> SerializeUnsized<S> for T where
T: Serialize<S>,
S: Serializer + ?Sized,
[src]pub fn serialize_unsized(
&self,
serializer: &mut S
) -> Result<usize, <S as Fallible>::Error>
[src]
pub fn serialize_unsized(
&self,
serializer: &mut S
) -> Result<usize, <S as Fallible>::Error>
[src]Writes the object and returns the position of the archived type.
pub fn serialize_metadata(
&self,
&mut S
) -> Result<<<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, <S as Fallible>::Error>
[src]
pub fn serialize_metadata(
&self,
&mut S
) -> Result<<<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, <S as Fallible>::Error>
[src]Serializes the metadata for the given type.