Struct tinyset::u64set::U64Set [] [src]

pub struct U64Set { /* fields omitted */ }

A set implemented of u64 elements

Methods

impl U64Set
[src]

Creates an empty set..

Creates an empty set..

Creates an empty set with the specified capacity.

Creates an empty set with the specified capacity.

Returns the number of elements in the set.

Reserves capacity for at least additional more elements to be inserted in the set. The collection may reserve more space to avoid frequent reallocations.

Reserves capacity for at least additional more elements to be inserted in the set, with maximum value of max. The collection may reserve more space to avoid frequent reallocations.

Adds a value to the set.

If the set did not have this value present, true is returned.

If the set did have this value present, false is returned.

Returns true if the set contains a value.

Removes an element, and returns true if that element was present.

Returns an iterator over the set.

Trait Implementations

impl Debug for U64Set
[src]

Formats the value using the given formatter.

impl Clone for U64Set
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more