[][src]Struct prototty_menu::MenuInstanceView

pub struct MenuInstanceView<E> {
    pub entry_view: E,
    // some fields omitted
}

Fields

entry_view: E

Methods

impl<E> MenuInstanceView<E>[src]

pub const fn new(entry_view: E) -> Self[src]

Trait Implementations

impl<E> MenuIndexFromScreenCoord for MenuInstanceView<E>[src]

impl<'a, T, E> View<&'a MenuInstance<T>> for MenuInstanceView<E> where
    T: Clone,
    E: MenuEntryView<T>, 
[src]

impl<'a, T, E> View<(&'a MenuInstance<T>, &'a <E as MenuEntryExtraView<T>>::Extra)> for MenuInstanceView<E> where
    T: Clone,
    E: MenuEntryExtraView<T>, 
[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for MenuInstanceView<E> where
    E: RefUnwindSafe

impl<E> Send for MenuInstanceView<E> where
    E: Send

impl<E> Sync for MenuInstanceView<E> where
    E: Sync

impl<E> Unpin for MenuInstanceView<E> where
    E: Unpin

impl<E> UnwindSafe for MenuInstanceView<E> where
    E: 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.