pub trait Component: Display { // Required method fn item(&self) -> Item; // Provided method fn elem(&self) -> Elem { ... } }