pub 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.
pub trait Displayable {
type DisplayImpl: Display;
// Required method
fn display(self) -> Self::DisplayImpl;
}Trait that allows accessing Display implementation on types external to this crate.