Skip to main content

DebugExt

Trait DebugExt 

Source
pub trait DebugExt {
    // Required method
    fn debug(&self) -> String;
}
Expand description

Convenience function to create a string containing the debug representation of an object that implements Debug

Required Methods§

Source

fn debug(&self) -> String

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Debug> DebugExt for T