Trait DebugIterator

Source
pub trait DebugIterator {
    // Required method
    fn debug(self) -> IterDebug<Self>
       where Self: Sized;
}
Expand description

Helper trait that lets you .debug() an iterator, like the other combinators.

Automatically implemented for all IntoIterator with Debug-able items.

Required Methods§

Source

fn debug(self) -> IterDebug<Self>
where Self: Sized,

Convert this iterator into an IterDebug for printing

Implementors§

Source§

impl<T> DebugIterator for T
where T: IntoIterator, T::Item: Debug,