Struct ppapi::input::EventExperimental [-]  [+] [src]

pub struct Event<Res, Class> {
    pub res: Res,
    pub timestamp: Ticks,
    pub mods: Modifiers,
    pub event: Class,
}

Fields

res
timestamp
mods
event

Trait Implementations

impl<Res: Resource, Class> Resource for Event<Res, Class>

fn unwrap(&self) -> PP_Resource

fn type_of(&self) -> ResourceType

impl<Res: Resource, Class> InputEvent for Event<Res, Class>

fn modifiers(&self) -> Modifiers

fn timestamp(&self) -> Ticks

Derived Implementations

impl<Res: Show, Class: Show> Show for Event<Res, Class>

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<Res: Clone, Class: Clone> Clone for Event<Res, Class>

fn clone(&self) -> Event<Res, Class>

fn clone_from(&mut self, source: &Self)