Struct ketos::name::NameSetSlice [] [src]

pub struct NameSetSlice { /* fields omitted */ }

Represents a set of names.

New names cannot be inserted into the set.

Methods

impl NameSetSlice
[src]

Returns whether the set contains the given name.

Elevates the set into a NameSet, which may receive new name values.

Returns whether the set is empty.

Returns an iterator over names in the set.

Returns the number of names in the set.

Trait Implementations

impl Clone for NameSetSlice
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NameSetSlice
[src]

Formats the value using the given formatter.

impl Default for NameSetSlice
[src]

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

impl Eq for NameSetSlice
[src]

impl PartialEq for NameSetSlice
[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 NameSetSlice
[src]

Creates a value from an iterator. Read more

impl<'a> IntoIterator for &'a NameSetSlice
[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