Struct ketos::name::NameSet [] [src]

pub struct NameSet { /* fields omitted */ }

Represents a set of names

Methods

impl NameSet
[src]

Returns a new NameSet.

Removes all names from the set.

Returns whether the set contains the given name.

Inserts the given name into the set. Returns true if the name was not already contained.

Lowers the set into a NameSetSlice, which may not receive new name values.

Returns whether the set is empty.

Returns an iterator over the set of contained names.

Returns the number of names contained in the set.

Trait Implementations

impl Clone for NameSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NameSet
[src]

Formats the value using the given formatter.

impl Default for NameSet
[src]

Returns the "default value" for a type. Read more

impl Eq for NameSet
[src]

impl PartialEq for NameSet
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl FromIterator<Name> for NameSet
[src]

Creates a value from an iterator. Read more

impl<'a> IntoIterator for &'a NameSet
[src]

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