[][src]Struct prototty_event_routine::Value

pub struct Value<T, D, V, E>(_);

Methods

impl<T, D, V, E> Value<T, D, V, E>[src]

pub fn new(value: T) -> Self[src]

Trait Implementations

impl<T, D, V, E> EventRoutine for Value<T, D, V, E>[src]

type Return = T

type Data = D

type View = V

type Event = E

Auto Trait Implementations

impl<T, D, V, E> RefUnwindSafe for Value<T, D, V, E> where
    D: RefUnwindSafe,
    E: RefUnwindSafe,
    T: RefUnwindSafe,
    V: RefUnwindSafe

impl<T, D, V, E> Send for Value<T, D, V, E> where
    D: Send,
    E: Send,
    T: Send,
    V: Send

impl<T, D, V, E> Sync for Value<T, D, V, E> where
    D: Sync,
    E: Sync,
    T: Sync,
    V: Sync

impl<T, D, V, E> Unpin for Value<T, D, V, E> where
    D: Unpin,
    E: Unpin,
    T: Unpin,
    V: Unpin

impl<T, D, V, E> UnwindSafe for Value<T, D, V, E> where
    D: UnwindSafe,
    E: UnwindSafe,
    T: 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, 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.