Struct guion::state::standard::key::StdPressedKey[][src]

pub struct StdPressedKey<E> where
    E: Env
{ pub key: EEKey<E>, pub down: WidgetIdent<E>, pub ts: u64, pub cursor: Option<Offset>, }

Fields

key: EEKey<E>down: WidgetIdent<E>

the widget which was selected (focused) where the key press started

ts: u64

the time the key press started

cursor: Option<Offset>

Trait Implementations

impl<E> PressedKey<E> for StdPressedKey<E> where
    E: Env
[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for StdPressedKey<E> where
    <<<E as Env>::Backend as Backend<E>>::Event as Event<E>>::Key: RefUnwindSafe,
    <E as Env>::WidgetID: RefUnwindSafe,
    <E as Env>::WidgetPath: RefUnwindSafe

impl<E> Send for StdPressedKey<E> where
    <<<E as Env>::Backend as Backend<E>>::Event as Event<E>>::Key: Send,
    <E as Env>::WidgetID: Send,
    <E as Env>::WidgetPath: Send

impl<E> Sync for StdPressedKey<E> where
    <<<E as Env>::Backend as Backend<E>>::Event as Event<E>>::Key: Sync,
    <E as Env>::WidgetID: Sync,
    <E as Env>::WidgetPath: Sync

impl<E> Unpin for StdPressedKey<E> where
    <<<E as Env>::Backend as Backend<E>>::Event as Event<E>>::Key: Unpin,
    <E as Env>::WidgetID: Unpin,
    <E as Env>::WidgetPath: Unpin

impl<E> UnwindSafe for StdPressedKey<E> where
    <<<E as Env>::Backend as Backend<E>>::Event as Event<E>>::Key: UnwindSafe,
    <E as Env>::WidgetID: UnwindSafe,
    <E as Env>::WidgetPath: 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> FromInto<U> for T where
    T: From<U> + Into<U>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'_, S, T, E> StyleSelectorAppend<&'_ S, E> for T where
    T: StyleSelectorAppend<S, E>,
    S: StyleSelectag<E>, 
[src]

impl<'a, S, T, E> StyleSelectorAppend<&'a [S], E> for T where
    T: StyleSelectorAppend<S, E>,
    S: StyleSelectag<E>, 
[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.