pub trait FragmentDisplay { // Required method fn display(&self, width: usize) -> String; }
Trait to indicate the type can display as fragment.