[][src]Trait guion::event::key::PressedKey

pub trait PressedKey<E> where
    E: Env
{ fn key(&self) -> EEKey<E>;
fn widget(&self) -> E::WidgetID;
fn timestamp(&self) -> u64;
fn cursor(&self) -> Option<Offset>; }

Required methods

fn key(&self) -> EEKey<E>

fn widget(&self) -> E::WidgetID

the widget at which the keypress started

fn timestamp(&self) -> u64

the timestamp at which the keypress started

fn cursor(&self) -> Option<Offset>

Loading content...

Implementors

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

Loading content...