[][src]Struct mlsub::auto::StateSet

pub struct StateSet { /* fields omitted */ }

A non-empty set of states, optimized for the common case where only one state is in the set.

Implementations

impl StateSet[src]

pub fn new(id: StateId) -> Self[src]

pub fn insert(&mut self, id: StateId) -> bool[src]

pub fn union(&mut self, other: &Self)[src]

pub fn iter(&self) -> Copied<Iter<'_, StateId>>[src]

Trait Implementations

impl Clone for StateSet[src]

impl Debug for StateSet[src]

impl Eq for StateSet[src]

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

type IntoIter = Copied<Iter<'a, StateId>>

Which kind of iterator are we turning this into?

type Item = StateId

The type of the elements being iterated over.

impl PartialEq<StateSet> for StateSet[src]

impl StructuralEq for StateSet[src]

impl StructuralPartialEq for StateSet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.