Trait Displayable
Sourcepub trait Displayable {
type DisplayImpl: Display;
// Required method
fn display(self) -> Self::DisplayImpl;
}Expand description
Trait that allows accessing Display implementation on types external to this crate.
Required Associated Types§
type DisplayImpl: Display
Required Methods§
fn display(self) -> Self::DisplayImpl
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".