pub trait MenuEntryRichString {
type Entry;
// Required method
fn render_rich_string(
&self,
entry: MenuEntryToRender<'_, Self::Entry>,
buf: &mut String,
) -> Style;
}pub trait MenuEntryRichString {
type Entry;
// Required method
fn render_rich_string(
&self,
entry: MenuEntryToRender<'_, Self::Entry>,
buf: &mut String,
) -> Style;
}