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

pub struct Struct_PPB_MouseInputEvent_1_1 {
    pub Create: Option< extern "C" fn(instance: PP_Instance, _type: PP_InputEvent_Type, time_stamp: PP_TimeTicks, modifiers: uint32_t, mouse_button: PP_InputEvent_MouseButton, mouse_position: *const Struct_PP_Point, click_count: int32_t, mouse_movement: *const Struct_PP_Point) -> PP_Resource>,
    pub IsMouseInputEvent: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub GetButton: Option< extern "C" fn(mouse_event: PP_Resource) -> PP_InputEvent_MouseButton>,
    pub GetPosition: Option< extern "C" fn(mouse_event: PP_Resource) -> Struct_PP_Point>,
    pub GetClickCount: Option< extern "C" fn(mouse_event: PP_Resource) -> int32_t>,
    pub GetMovement: Option< extern "C" fn(mouse_event: PP_Resource) -> Struct_PP_Point>,
}

Fields

Create
IsMouseInputEvent
GetButton
GetPosition
GetClickCount
GetMovement

Trait Implementations

impl Default for Struct_PPB_MouseInputEvent_1_1

fn default() -> Struct_PPB_MouseInputEvent_1_1

impl MouseInputEventIf for Struct_PPB_MouseInputEvent_1_1

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

fn button(&self, res: &PP_Resource) -> PP_InputEvent_MouseButton

fn point(&self, res: &PP_Resource) -> PP_FloatPoint

fn click_count(&self, res: &PP_Resource) -> i32

fn delta(&self, res: &PP_Resource) -> PP_FloatPoint

Derived Implementations

impl Copy for Struct_PPB_MouseInputEvent_1_1