DebugExt

Trait DebugExt 

Source
pub trait DebugExt: Debug {
    // Provided method
    fn fields(&self) -> impl Iterator<Item = (&'static str, &dyn Debug)> { ... }
}

Provided Methods§

Source

fn fields(&self) -> impl Iterator<Item = (&'static str, &dyn Debug)>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§