pub enum IterVariant<T: OutputIterator> {
Before(T),
After(T::AfterOutput),
}Expand description
Represents the internal state of an iterator over the OutputIterator.
Used in various iterators of this crate.
Variants§
Before(T)
The iterator is in its initial state, before producing any output.
After(T::AfterOutput)
The iterator has transitioned to the AfterOutput state.
Auto Trait Implementations§
impl<T> Freeze for IterVariant<T>
impl<T> RefUnwindSafe for IterVariant<T>
impl<T> Send for IterVariant<T>
impl<T> Sync for IterVariant<T>
impl<T> Unpin for IterVariant<T>
impl<T> UnwindSafe for IterVariant<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more