Struct rkyv::std_impl::chd::ArchivedHashSet [−][src]
Expand description
An archived HashSet
. This is a wrapper around a hash map with the same key and a value of
()
.
Implementations
Gets the key corresponding to the given key in the hash set.
Returns whether the given key is in the hash set.
Trait Implementations
impl<K: Hash + Eq, __C: ?Sized> CheckBytes<__C> for ArchivedHashSet<K> where
ArchivedHashMap<K, ()>: CheckBytes<__C>,
[src]
impl<K: Hash + Eq, __C: ?Sized> CheckBytes<__C> for ArchivedHashSet<K> where
ArchivedHashMap<K, ()>: CheckBytes<__C>,
[src]type Error = TupleStructCheckError
type Error = TupleStructCheckError
The error that may result from checking the type.
unsafe fn check_bytes<'a>(
value: *const Self,
context: &mut __C
) -> Result<&'a Self, Self::Error>
[src]
unsafe fn check_bytes<'a>(
value: *const Self,
context: &mut __C
) -> Result<&'a Self, Self::Error>
[src]Checks whether the given pointer points to a valid value within the given context. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<K> RefUnwindSafe for ArchivedHashSet<K> where
K: RefUnwindSafe,
impl<K> Send for ArchivedHashSet<K> where
K: Send,
impl<K> Sync for ArchivedHashSet<K> where
K: Sync,
impl<K> !Unpin for ArchivedHashSet<K>
impl<K> UnwindSafe for ArchivedHashSet<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