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

pub struct Struct_PPB_TouchInputEvent_1_0 {
    pub Create: Option< extern "C" fn(instance: PP_Instance, _type: PP_InputEvent_Type, time_stamp: PP_TimeTicks, modifiers: uint32_t) -> PP_Resource>,
    pub AddTouchPoint: Option< extern "C" fn(touch_event: PP_Resource, list: PP_TouchListType, point: *const Struct_PP_TouchPoint)>,
    pub IsTouchInputEvent: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub GetTouchCount: Option< extern "C" fn(resource: PP_Resource, list: PP_TouchListType) -> uint32_t>,
    pub GetTouchByIndex: Option< extern "C" fn(resource: PP_Resource, list: PP_TouchListType, index: uint32_t) -> Struct_PP_TouchPoint>,
    pub GetTouchById: Option< extern "C" fn(resource: PP_Resource, list: PP_TouchListType, touch_id: uint32_t) -> Struct_PP_TouchPoint>,
}

Fields

Create
AddTouchPoint
IsTouchInputEvent
GetTouchCount
GetTouchByIndex
GetTouchById

Trait Implementations

impl Default for Struct_PPB_TouchInputEvent_1_0

fn default() -> Struct_PPB_TouchInputEvent_1_0

impl TouchInputEventIf for Struct_PPB_TouchInputEvent_1_0

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

fn count(&self, res: &PP_Resource, list: PP_TouchListType) -> u32

fn by_index(&self, res: &PP_Resource, list_type: PP_TouchListType, index: u32) -> PP_TouchPoint

fn by_id(&self, res: &PP_Resource, list_type: PP_TouchListType, id: u32) -> PP_TouchPoint

Derived Implementations

impl Copy for Struct_PPB_TouchInputEvent_1_0