pub trait DebugIterator {
// Required methods
fn debug(self) -> IterDebug<Self>
where Self: Sized;
fn debug_set(self) -> IterDebug<Self>
where Self: Sized;
fn debug_map(self) -> KvIterDebug<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§
Sourcefn debug(self) -> IterDebug<Self>where
Self: Sized,
fn debug(self) -> IterDebug<Self>where
Self: Sized,
Convert this iterator to a Debug-printable value, printed as a list.
Sourcefn debug_set(self) -> IterDebug<Self>where
Self: Sized,
fn debug_set(self) -> IterDebug<Self>where
Self: Sized,
Convert this iterator to a Debug-printable value, printed as a set.
Sourcefn debug_map(self) -> KvIterDebug<Self>where
Self: Sized,
fn debug_map(self) -> KvIterDebug<Self>where
Self: Sized,
Convert this iterator to a Debug-printable value, printed as a map.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".