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

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

Fields

key: EEKey<E>id: E::WidgetPath

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>::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>::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>::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>::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>::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> 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.