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

pub struct Struct_PPB_InputEvent_1_0 {
    pub RequestInputEvents: Option< extern "C" fn(instance: PP_Instance, event_classes: uint32_t) -> int32_t>,
    pub RequestFilteringInputEvents: Option< extern "C" fn(instance: PP_Instance, event_classes: uint32_t) -> int32_t>,
    pub ClearInputEventRequest: Option< extern "C" fn(instance: PP_Instance, event_classes: uint32_t)>,
    pub IsInputEvent: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub GetType: Option< extern "C" fn(event: PP_Resource) -> PP_InputEvent_Type>,
    pub GetTimeStamp: Option< extern "C" fn(event: PP_Resource) -> PP_TimeTicks>,
    pub GetModifiers: Option< extern "C" fn(event: PP_Resource) -> uint32_t>,
}

Fields

RequestInputEvents
RequestFilteringInputEvents
ClearInputEventRequest
IsInputEvent
GetType
GetTimeStamp
GetModifiers

Trait Implementations

impl Default for Struct_PPB_InputEvent_1_0

fn default() -> Struct_PPB_InputEvent_1_0

impl InputEventIf for Struct_PPB_InputEvent_1_0

fn request(&self, instance: &PP_Instance, classes: u32) -> Code

fn request_filtering(&self, instance: &PP_Instance, classes: u32) -> Code

fn cancel_requests(&self, instance: &PP_Instance, classes: u32)

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

fn type_of(&self, res: &PP_Resource) -> PP_InputEvent_Type

fn timestamp(&self, res: &PP_Resource) -> PP_TimeTicks

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

Derived Implementations

impl Copy for Struct_PPB_InputEvent_1_0