[][src]Struct chargrid_menu::MenuEntryRichStringFn

pub struct MenuEntryRichStringFn<F, E> { /* fields omitted */ }

Methods

impl<F, E> MenuEntryRichStringFn<F, E>[src]

pub fn new(f: F) -> Self[src]

Trait Implementations

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

type Entry = E

Auto Trait Implementations

impl<F, E> RefUnwindSafe for MenuEntryRichStringFn<F, E> where
    E: RefUnwindSafe,
    F: RefUnwindSafe

impl<F, E> Send for MenuEntryRichStringFn<F, E> where
    E: Send,
    F: Send

impl<F, E> Sync for MenuEntryRichStringFn<F, E> where
    E: Sync,
    F: Sync

impl<F, E> Unpin for MenuEntryRichStringFn<F, E> where
    E: Unpin,
    F: Unpin

impl<F, E> UnwindSafe for MenuEntryRichStringFn<F, E> where
    E: UnwindSafe,
    F: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.