[][src]Struct free_algebra::monoid::IterMut

pub struct IterMut<'a, C, M: MonoidRule<C> + ?Sized> { /* fields omitted */ }

Iterates over mutable references to the letters of a MonoidalString

Note that this causes a reallocation of the internal Vec since it's possible that an element mutation could create an illegal state if not reconstructed from the sums of the mutated terms.

Trait Implementations

impl<'a, C, M: MonoidRule<C> + ?Sized> Drop for IterMut<'a, C, M>[src]

impl<'a, C, M: MonoidRule<C> + ?Sized> Iterator for IterMut<'a, C, M>[src]

type Item = &'a mut C

The type of the elements being iterated over.

impl<'a, C, M: MonoidRule<C> + ?Sized> ExactSizeIterator for IterMut<'a, C, M>[src]

impl<'a, C, M: MonoidRule<C> + ?Sized> FusedIterator for IterMut<'a, C, M>[src]

Auto Trait Implementations

impl<'a, C, M: ?Sized> Send for IterMut<'a, C, M> where
    C: Send,
    M: Send

impl<'a, C, M: ?Sized> Sync for IterMut<'a, C, M> where
    C: Sync,
    M: Sync

impl<'a, C, M: ?Sized> Unpin for IterMut<'a, C, M> where
    C: Unpin

impl<'a, C, M> !UnwindSafe for IterMut<'a, C, M>

impl<'a, C, M: ?Sized> RefUnwindSafe for IterMut<'a, C, M> where
    C: RefUnwindSafe,
    M: RefUnwindSafe

Blanket Implementations

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.

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

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

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