pub trait DisplayProxy {
type D<'a>: Display + Debug
where Self: 'a;
// Required method
fn display<'a>(&'a self) -> Self::D<'a>;
}Expand description
Make a type display-able.
Required Associated Types§
Required Methods§
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.