pub trait Displayable: Sized {
// Required method
fn display(&self) -> Displayer<'_, Self>;
}Expand description
A mechanism to render a value that implements fmt::Display in templates.
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.