Struct tinyset::u64set::Set64 [] [src]

pub struct Set64<T: Fits64>(_, _);

A set type that can store any type that fits in a u64.

Methods

impl<T: Fits64> Set64<T>
[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.

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 the number of elements in the set.

Returns true if the set contains a value.

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

Trait Implementations

impl<T: Debug + Fits64> Debug for Set64<T>
[src]

Formats the value using the given formatter.

impl<T: Clone + Fits64> Clone for Set64<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more