Trait fmt_ext::debug::CustomDebug [−][src]
pub trait CustomDebug {
type Target: ?Sized;
fn fmt_target(target: &Self::Target, f: &mut Formatter<'_>) -> Result;
}
Expand description
A trait that proxying a custom Debug for a target type.
Associated Types
Required methods
fn fmt_target(target: &Self::Target, f: &mut Formatter<'_>) -> Result
fn fmt_target(target: &Self::Target, f: &mut Formatter<'_>) -> Result
Should formats a target type.