pub struct Set<'a, BS>(_);
Expand description

Set is a Hamt with empty values for the purpose of acting as a hash set.

Implementations

Initializes a new empty Set with the default bitwidth.

Initializes a new empty Set given a bitwidth.

Initializes a Set from a root Cid.

Retrieve root from the Set.

Adds key to the set.

Checks if key exists in the set.

Deletes key from set.

Iterates through all keys in the set.

Collects all keys from the set into a vector.

Trait Implementations

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

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be 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.