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]

[src]

Creates an empty set..

[src]

Creates an empty set..

[src]

Returns the number of elements in the set.

[src]

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.

[src]

Returns true if the set contains a value.

[src]

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

[src]

Returns an iterator over the set.

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more