[][src]Enum tuikit::event::Event

pub enum Event<UserEvent: Send + 'static = ()> {
    Key(Key),
    Resize {
        width: usize,
        height: usize,
    },
    Restarted,
    User(UserEvent),
    // some variants omitted
}

Variants

Key(Key)
Resize

Fields of Resize

width: usizeheight: usize
Restarted
User(UserEvent)

user defined signal 1

Trait Implementations

impl<UserEvent: Clone + Send + 'static> Clone for Event<UserEvent>[src]

impl<UserEvent: Copy + Send + 'static> Copy for Event<UserEvent>[src]

impl<UserEvent: Debug + Send + 'static> Debug for Event<UserEvent>[src]

impl<UserEvent: Eq + Send + 'static> Eq for Event<UserEvent>[src]

impl<UserEvent: Hash + Send + 'static> Hash for Event<UserEvent>[src]

impl<UserEvent: PartialEq + Send + 'static> PartialEq<Event<UserEvent>> for Event<UserEvent>[src]

impl<UserEvent: Send + 'static> StructuralEq for Event<UserEvent>[src]

impl<UserEvent: Send + 'static> StructuralPartialEq for Event<UserEvent>[src]

Auto Trait Implementations

impl<UserEvent> RefUnwindSafe for Event<UserEvent> where
    UserEvent: RefUnwindSafe

impl<UserEvent> Send for Event<UserEvent>

impl<UserEvent> Sync for Event<UserEvent> where
    UserEvent: Sync

impl<UserEvent> Unpin for Event<UserEvent> where
    UserEvent: Unpin

impl<UserEvent> UnwindSafe for Event<UserEvent> where
    UserEvent: 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.