Struct rkyv::collections::index_set::ArchivedIndexSet [−][src]
#[repr(transparent)]pub struct ArchivedIndexSet<K> { /* fields omitted */ }Expand description
An archived IndexSet.
Implementations
Returns whether a key is present in the hash set.
Returns the value stored in the set, if any.
Returns the item index and value stored in the set, if any.
Returns the index of a key if it exists in the set.
Gets the hasher for this index set.
Returns an iterator over the keys of the index set in order.
pub unsafe fn resolve_from_len(
len: usize,
pos: usize,
resolver: IndexSetResolver,
out: *mut Self
)
pub unsafe fn resolve_from_len(
len: usize,
pos: usize,
resolver: IndexSetResolver,
out: *mut Self
)
Resolves an archived index map from a given length and parameters.
Safety
lenmust be the number of elements that were serializedposmust be the position ofoutwithin the archiveresolvermust be the result of serializing a hash map
Trait Implementations
Auto Trait Implementations
impl<K> RefUnwindSafe for ArchivedIndexSet<K> where
K: RefUnwindSafe,
impl<K> Send for ArchivedIndexSet<K> where
K: Send,
impl<K> Sync for ArchivedIndexSet<K> where
K: Sync,
impl<K> !Unpin for ArchivedIndexSet<K>
impl<K> UnwindSafe for ArchivedIndexSet<K> where
K: UnwindSafe,
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more