[][src]Enum guion::event::variants::RootEvent

#[non_exhaustive]pub enum RootEvent<E> where
    E: Env
{ KbdDown { key: EEKey<E>, }, KbdPress { key: EEKey<E>, }, KbdUp { key: EEKey<E>, }, MouseDown { key: EEKey<E>, }, MouseUp { key: EEKey<E>, }, MouseMove { pos: Offset, }, WindowMove { pos: Offset, size: Dims, }, WindowResize { size: Dims, }, MouseLeaveWindow {}, }

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
KbdDown

Fields of KbdDown

key: EEKey<E>
KbdPress

Fields of KbdPress

key: EEKey<E>
KbdUp

Fields of KbdUp

key: EEKey<E>
MouseDown

Fields of MouseDown

key: EEKey<E>
MouseUp

Fields of MouseUp

key: EEKey<E>
MouseMove

Fields of MouseMove

pos: Offset
WindowMove

Fields of WindowMove

pos: Offsetsize: Dims
WindowResize

Fields of WindowResize

size: Dims
MouseLeaveWindow

Fields of MouseLeaveWindow

Trait Implementations

impl<E: Clone> Clone for RootEvent<E> where
    E: Env
[src]

impl<E> Variant<E> for RootEvent<E> where
    E: Env
[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for RootEvent<E> where
    <E as Env>::Backend: Backend<E>,
    <<E as Env>::Backend as Backend<E>>::Event: Event<E>,
    <<<E as Env>::Backend as Backend<E>>::Event as Event<E>>::Key: RefUnwindSafe

impl<E> Send for RootEvent<E> where
    <E as Env>::Backend: Backend<E>,
    <<E as Env>::Backend as Backend<E>>::Event: Event<E>,
    <<<E as Env>::Backend as Backend<E>>::Event as Event<E>>::Key: Send

impl<E> Sync for RootEvent<E> where
    <E as Env>::Backend: Backend<E>,
    <<E as Env>::Backend as Backend<E>>::Event: Event<E>,
    <<<E as Env>::Backend as Backend<E>>::Event as Event<E>>::Key: Sync

impl<E> Unpin for RootEvent<E> where
    <E as Env>::Backend: Backend<E>,
    <<E as Env>::Backend as Backend<E>>::Event: Event<E>,
    <<<E as Env>::Backend as Backend<E>>::Event as Event<E>>::Key: Unpin

impl<E> UnwindSafe for RootEvent<E> where
    <E as Env>::Backend: Backend<E>,
    <<E as Env>::Backend as Backend<E>>::Event: Event<E>,
    <<<E as Env>::Backend as Backend<E>>::Event as Event<E>>::Key: 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.