[][src]Trait chargrid_menu::MenuEntryRichString

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

Associated Types

type Entry

Loading content...

Required methods

fn render_rich_string(
    &self,
    entry: MenuEntryToRender<Self::Entry>,
    buf: &mut String
) -> Style

Loading content...

Implementors

impl<F, E> MenuEntryRichString for MenuEntryRichStringFn<F, E> where
    F: Fn(MenuEntryToRender<E>, &mut String) -> Style
[src]

type Entry = E

Loading content...