#[repr(C)]
pub struct RUMouseEventFuncs {
Show 14 fields pub pos: extern "C" fn(self_c: *const RUBase) -> RUPoint, pub global_pos: extern "C" fn(self_c: *const RUBase) -> RUPoint, pub x: extern "C" fn(self_c: *const RUBase) -> i32, pub y: extern "C" fn(self_c: *const RUBase) -> i32, pub global_x: extern "C" fn(self_c: *const RUBase) -> i32, pub global_y: extern "C" fn(self_c: *const RUBase) -> i32, pub local_pos: extern "C" fn(self_c: *const RUBase) -> RUPointF, pub window_pos: extern "C" fn(self_c: *const RUBase) -> RUPointF, pub screen_pos: extern "C" fn(self_c: *const RUBase) -> RUPointF, pub button: extern "C" fn(self_c: *const RUBase) -> i32, pub buttons: extern "C" fn(self_c: *const RUBase) -> i32, pub set_local_pos: extern "C" fn(self_c: *const RUBase, local_position: *const RUBase), pub source: extern "C" fn(self_c: *const RUBase) -> i32, pub flags: extern "C" fn(self_c: *const RUBase) -> i32,
}

Fields

pos: extern "C" fn(self_c: *const RUBase) -> RUPointglobal_pos: extern "C" fn(self_c: *const RUBase) -> RUPointx: extern "C" fn(self_c: *const RUBase) -> i32y: extern "C" fn(self_c: *const RUBase) -> i32global_x: extern "C" fn(self_c: *const RUBase) -> i32global_y: extern "C" fn(self_c: *const RUBase) -> i32local_pos: extern "C" fn(self_c: *const RUBase) -> RUPointFwindow_pos: extern "C" fn(self_c: *const RUBase) -> RUPointFscreen_pos: extern "C" fn(self_c: *const RUBase) -> RUPointFbutton: extern "C" fn(self_c: *const RUBase) -> i32buttons: extern "C" fn(self_c: *const RUBase) -> i32set_local_pos: extern "C" fn(self_c: *const RUBase, local_position: *const RUBase)source: extern "C" fn(self_c: *const RUBase) -> i32flags: extern "C" fn(self_c: *const RUBase) -> i32

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.