logo
#[repr(transparent)]
pub struct ArchivedIndexSet<K> { /* private fields */ }
Expand description

An archived IndexSet.

Implementations

Returns whether a key is present in the hash set.

Returns the first key.

Returns the value stored in the set, if any.

Returns the item index and value stored in the set, if any.

Gets a key by index.

Returns the index of a key if it exists in the set.

Gets the hasher for this index set.

Returns whether the index set contains no values.

Returns an iterator over the keys of the index set in order.

Returns the last key.

Returns the number of elements in the index set.

Resolves an archived index map from a given length and parameters.

Safety
  • len must be the number of elements that were serialized
  • pos must be the position of out within the archive
  • resolver must be the result of serializing a 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

Formats the value using the given formatter. 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

Deserializes using the given deserializer

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Gets the layout of the type.

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.