[][src]Trait debug_iterator::DebugIterator

pub trait DebugIterator: Iterator {
    fn debug<'a>(self) -> DebugPrinter<'a, Self>
    where
        Self: Sized,
        Self::Item: Debug
, { ... }
fn debug_pretty<'a>(self) -> DebugPrinter<'a, Self>
    where
        Self: Sized,
        Self::Item: Debug
, { ... }
fn debug_prefix<'a, S>(self, prefix: S) -> DebugPrinter<'a, Self>
    where
        Self: Sized + 'a,
        Self::Item: Debug,
        S: Into<Cow<'a, str>>
, { ... }
fn debug_prefix_pretty<'a, S>(self, prefix: S) -> DebugPrinter<'a, Self>
    where
        Self: Sized + 'a,
        Self::Item: Debug,
        S: Into<Cow<'a, str>>
, { ... } }

DebugIterator is an std::iter::Iterator adapter that simply prints out the debug representation of the Iterator::Item

Provided methods

Important traits for DebugPrinter<'a, T>
fn debug<'a>(self) -> DebugPrinter<'a, Self> where
    Self: Sized,
    Self::Item: Debug

Create an adapter that prints out the std::fmt::Debug representation of the Item

Important traits for DebugPrinter<'a, T>
fn debug_pretty<'a>(self) -> DebugPrinter<'a, Self> where
    Self: Sized,
    Self::Item: Debug

Create an adapter that prints out the std::fmt::Debug alterntive representation of the Item

Important traits for DebugPrinter<'a, T>
fn debug_prefix<'a, S>(self, prefix: S) -> DebugPrinter<'a, Self> where
    Self: Sized + 'a,
    Self::Item: Debug,
    S: Into<Cow<'a, str>>, 

Create an adapter that prints out the std::fmt::Debug representation of the Item, with a Prefix

Important traits for DebugPrinter<'a, T>
fn debug_prefix_pretty<'a, S>(self, prefix: S) -> DebugPrinter<'a, Self> where
    Self: Sized + 'a,
    Self::Item: Debug,
    S: Into<Cow<'a, str>>, 

Create an adapter that prints out the std::fmt::Debug alterntive representation of the Item, with a Prefix

Loading content...

Implementors

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

Loading content...