[][src]Struct prototty_menu::MenuInstanceRoutine

pub struct MenuInstanceRoutine<V, C> { /* fields omitted */ }

Methods

impl<V, C> MenuInstanceRoutine<V, C> where
    C: MenuInstanceChoose,
    V: View<&'a MenuInstance<C::Entry>>,
    V: MenuIndexFromScreenCoord
[src]

pub fn new() -> Self[src]

Trait Implementations

impl<V, C> Clone for MenuInstanceRoutine<V, C> where
    C: MenuInstanceChoose,
    V: View<&'a MenuInstance<C::Entry>>,
    V: MenuIndexFromScreenCoord
[src]

impl<V, C> Copy for MenuInstanceRoutine<V, C> where
    C: MenuInstanceChoose,
    V: View<&'a MenuInstance<C::Entry>>,
    V: MenuIndexFromScreenCoord
[src]

impl<V: Default, C: Default> Default for MenuInstanceRoutine<V, C>[src]

impl<V, C> EventRoutine for MenuInstanceRoutine<V, C> where
    C: MenuInstanceChoose,
    V: View<&'a MenuInstance<C::Entry>>,
    V: MenuIndexFromScreenCoord
[src]

type Return = C::Output

type Data = C

type View = V

type Event = Input

Auto Trait Implementations

impl<V, C> RefUnwindSafe for MenuInstanceRoutine<V, C> where
    C: RefUnwindSafe,
    V: RefUnwindSafe

impl<V, C> Send for MenuInstanceRoutine<V, C> where
    C: Send,
    V: Send

impl<V, C> Sync for MenuInstanceRoutine<V, C> where
    C: Sync,
    V: Sync

impl<V, C> Unpin for MenuInstanceRoutine<V, C> where
    C: Unpin,
    V: Unpin

impl<V, C> UnwindSafe for MenuInstanceRoutine<V, C> where
    C: UnwindSafe,
    V: 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.