Struct rute::auto::tablet_event_ffi::RUTabletEventFuncs
source · #[repr(C)]pub struct RUTabletEventFuncs {Show 21 fields
pub pos: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub global_pos: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub pos_f: extern "C" fn(self_c: *const RUBase) -> RUPointF,
pub global_pos_f: extern "C" fn(self_c: *const RUBase) -> RUPointF,
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 hi_res_global_x: extern "C" fn(self_c: *const RUBase) -> f32,
pub hi_res_global_y: extern "C" fn(self_c: *const RUBase) -> f32,
pub device: extern "C" fn(self_c: *const RUBase) -> u32,
pub pointer_type: extern "C" fn(self_c: *const RUBase) -> u32,
pub unique_id: extern "C" fn(self_c: *const RUBase) -> i64,
pub pressure: extern "C" fn(self_c: *const RUBase) -> f32,
pub z: extern "C" fn(self_c: *const RUBase) -> i32,
pub tangential_pressure: extern "C" fn(self_c: *const RUBase) -> f32,
pub rotation: extern "C" fn(self_c: *const RUBase) -> f32,
pub x_tilt: extern "C" fn(self_c: *const RUBase) -> i32,
pub y_tilt: extern "C" fn(self_c: *const RUBase) -> i32,
pub button: extern "C" fn(self_c: *const RUBase) -> u32,
pub buttons: extern "C" fn(self_c: *const RUBase) -> u32,
}
Fields
pos: extern "C" fn(self_c: *const RUBase) -> RUPoint
global_pos: extern "C" fn(self_c: *const RUBase) -> RUPoint
pos_f: extern "C" fn(self_c: *const RUBase) -> RUPointF
global_pos_f: extern "C" fn(self_c: *const RUBase) -> RUPointF
x: extern "C" fn(self_c: *const RUBase) -> i32
y: extern "C" fn(self_c: *const RUBase) -> i32
global_x: extern "C" fn(self_c: *const RUBase) -> i32
global_y: extern "C" fn(self_c: *const RUBase) -> i32
hi_res_global_x: extern "C" fn(self_c: *const RUBase) -> f32
hi_res_global_y: extern "C" fn(self_c: *const RUBase) -> f32
device: extern "C" fn(self_c: *const RUBase) -> u32
pointer_type: extern "C" fn(self_c: *const RUBase) -> u32
unique_id: extern "C" fn(self_c: *const RUBase) -> i64
pressure: extern "C" fn(self_c: *const RUBase) -> f32
z: extern "C" fn(self_c: *const RUBase) -> i32
tangential_pressure: extern "C" fn(self_c: *const RUBase) -> f32
rotation: extern "C" fn(self_c: *const RUBase) -> f32
x_tilt: extern "C" fn(self_c: *const RUBase) -> i32
y_tilt: extern "C" fn(self_c: *const RUBase) -> i32
Trait Implementations
sourceimpl Clone for RUTabletEventFuncs
impl Clone for RUTabletEventFuncs
sourcefn clone(&self) -> RUTabletEventFuncs
fn clone(&self) -> RUTabletEventFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUTabletEventFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUTabletEventFuncs
impl Send for RUTabletEventFuncs
impl Sync for RUTabletEventFuncs
impl Unpin for RUTabletEventFuncs
impl UnwindSafe for RUTabletEventFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more