pub trait MultiFormatDisplay: Serialize {
// Required method
fn to_table(&self) -> Table;
// Provided method
fn to_quiet(&self) -> String { ... }
}Expand description
Trait for types that can be displayed in multiple formats
Required Methods§
Provided 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.