[−][src]Struct mlsub::auto::StateSet
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.
fn into_iter(self) -> Self::IntoIter
[src]
impl PartialEq<StateSet> for StateSet
[src]
impl StructuralEq for StateSet
[src]
impl StructuralPartialEq for StateSet
[src]
Auto Trait Implementations
impl RefUnwindSafe for StateSet
impl Send for StateSet
impl Sync for StateSet
impl Unpin for StateSet
impl UnwindSafe for StateSet
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,