pub trait FragmentDisplay {
// Required method
fn display(&self, width: usize) -> String;
}Expand description
Trait to indicate the type can display as fragment.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".