Struct ppapi::ffi::Struct_PPB_KeyboardInputEvent_1_2Experimental [-]  [+] [src]

pub struct Struct_PPB_KeyboardInputEvent_1_2 {
    pub Create: Option< extern "C" fn(instance: PP_Instance, _type: PP_InputEvent_Type, time_stamp: PP_TimeTicks, modifiers: uint32_t, key_code: uint32_t, character_text: Struct_PP_Var, code: Struct_PP_Var) -> PP_Resource>,
    pub IsKeyboardInputEvent: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub GetKeyCode: Option< extern "C" fn(key_event: PP_Resource) -> uint32_t>,
    pub GetCharacterText: Option< extern "C" fn(character_event: PP_Resource) -> Struct_PP_Var>,
    pub GetCode: Option< extern "C" fn(key_event: PP_Resource) -> Struct_PP_Var>,
}

Fields

Create
IsKeyboardInputEvent
GetKeyCode
GetCharacterText
GetCode

Trait Implementations

impl Default for Struct_PPB_KeyboardInputEvent_1_2

fn default() -> Struct_PPB_KeyboardInputEvent_1_2

impl KeyboardInputEventIf for Struct_PPB_KeyboardInputEvent_1_2

fn is(&self, res: &PP_Resource) -> bool

fn key_code(&self, res: &PP_Resource) -> u32

fn text(&self, res: &PP_Resource) -> PP_Var

Derived Implementations

impl Copy for Struct_PPB_KeyboardInputEvent_1_2