Enum ppapi::input::ClassExperimental [-]  [+] [src]

pub enum Class {
    Keyboard(Event<KeyboardInputEvent, KeyboardEvent>),
    Mouse(Event<MouseInputEvent, MouseEvent>),
    Wheel(Event<WheelInputEvent, WheelEvent>),
    Touch(Event<TouchInputEvent, TouchInputEvent>),
    IME(Event<IMEInputEvent, IMEInputEvent>),
}

Variants

Keyboard
Mouse
Wheel
Touch
IME

Methods

impl Class

fn new<T: InputEvent + Resource + 'static>(res: T) -> Class

Trait Implementations

impl Resource for Class

fn unwrap(&self) -> PP_Resource

fn type_of(&self) -> ResourceType

impl InputEvent for Class

fn modifiers(&self) -> Modifiers

fn timestamp(&self) -> Ticks

Derived Implementations

impl Show for Class

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

impl Clone for Class

fn clone(&self) -> Class

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