[][src]Struct guion_sdl2::event::key::PressedKey

pub struct PressedKey<E> where
    E: Env
{ pub v: Key, pub ts: u32, pub window: u32, pub widget: E::WidgetID, }

Fields

v: Keyts: u32window: u32widget: E::WidgetID

Trait Implementations

impl<E: Clone> Clone for PressedKey<E> where
    E: Env,
    E::WidgetID: Clone
[src]

impl<E: PartialEq> PartialEq<PressedKey<E>> for PressedKey<E> where
    E: Env,
    E::WidgetID: PartialEq
[src]

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

Auto Trait Implementations

impl<E> RefUnwindSafe for PressedKey<E> where
    <E as Env>::WidgetID: RefUnwindSafe

impl<E> Send for PressedKey<E> where
    <E as Env>::WidgetID: Send

impl<E> Sync for PressedKey<E> where
    <E as Env>::WidgetID: Sync

impl<E> Unpin for PressedKey<E> where
    <E as Env>::WidgetID: Unpin

impl<E> UnwindSafe for PressedKey<E> where
    <E as Env>::WidgetID: 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.