[][src]Struct markedit::Rewritten

pub struct Rewritten<'src, E, R> { /* fields omitted */ }

A stream of Events that have been modified by a Rewriter.

Methods

impl<'src, E, R> Rewritten<'src, E, R>[src]

pub fn new(events: E, rewriter: R) -> Self[src]

Create a new Rewritten iterator.

Trait Implementations

impl<'src, E: Debug, R: Debug> Debug for Rewritten<'src, E, R>[src]

impl<'src, E, R> Iterator for Rewritten<'src, E, R> where
    E: Iterator<Item = Event<'src>>,
    R: Rewriter<'src>, 
[src]

type Item = Event<'src>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'src, E, R> RefUnwindSafe for Rewritten<'src, E, R> where
    E: RefUnwindSafe,
    R: RefUnwindSafe

impl<'src, E, R> Send for Rewritten<'src, E, R> where
    E: Send,
    R: Send

impl<'src, E, R> Sync for Rewritten<'src, E, R> where
    E: Sync,
    R: Sync

impl<'src, E, R> Unpin for Rewritten<'src, E, R> where
    E: Unpin,
    R: Unpin

impl<'src, E, R> UnwindSafe for Rewritten<'src, E, R> where
    E: UnwindSafe,
    R: UnwindSafe

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<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.