pub trait DrawMenu<T: CowStr> {
// Provided method
fn draw_menu(&self, f: &mut Frame<'_>, rect: &Rect, window: &ContentWindow)
where Self: Content<T> { ... }
}Expand description
Trait used to display a scrollable content Element are itered from the top to the bottom of the window index and printed in the canvas. Since the content kind is linked to a mode, it doesn’t print the second line of the mode.
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.