Struct tinyset::vecset::VecSet [] [src]

pub struct VecSet<T> { /* fields omitted */ }

A set that is stored in a Vec

Methods

impl<T: Eq> VecSet<T>
[src]

Creates an empty set..

Creates an empty set..

Returns the number of elements in the set.

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<T: Debug> Debug for VecSet<T>
[src]

Formats the value using the given formatter.

impl<T: Clone> Clone for VecSet<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more