Struct tinyset::setusize::SetUsize[][src]

pub struct SetUsize(_);
Expand description

A set for usize elements.

Implementations

Returns true if the set is empty

Creates an empty set..

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.

Iterate

Drain

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Creates an empty set..

Creates a value from an iterator. Read more

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.