Struct rkyv::std_impl::chd::ArchivedHashSet[][src]

#[repr(transparent)]
pub struct ArchivedHashSet<K: Hash + Eq>(_);
Expand description

An archived HashSet. This is a wrapper around a hash map with the same key and a value of ().

Implementations

Gets the number of items in the hash set.

Gets the key corresponding to the given key in the hash set.

Returns whether the given key is in the hash set.

Gets the hasher for the underlying hash map.

Returns whether there are no items in the hash set.

Gets an iterator over the keys of the underlying hash map.

Trait Implementations

The error that may result from checking the type.

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

Blanket Implementations

Gets the TypeId of self. Read more

The archived version of the pointer metadata for this type.

Converts some archived metadata to the pointer metadata for itself.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type for metadata in pointers and references to Self.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.