Struct rute::auto::wheel_event_ffi::RUWheelEventFuncs
source · #[repr(C)]pub struct RUWheelEventFuncs {Show 16 fields
pub pixel_delta: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub angle_delta: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub delta: extern "C" fn(self_c: *const RUBase) -> i32,
pub orientation: extern "C" fn(self_c: *const RUBase) -> u32,
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 pos_f: extern "C" fn(self_c: *const RUBase) -> RUPointF,
pub global_pos_f: extern "C" fn(self_c: *const RUBase) -> RUPointF,
pub buttons: extern "C" fn(self_c: *const RUBase) -> u32,
pub phase: extern "C" fn(self_c: *const RUBase) -> u32,
pub inverted: extern "C" fn(self_c: *const RUBase) -> bool,
pub source: extern "C" fn(self_c: *const RUBase) -> u32,
}
Fields
pixel_delta: extern "C" fn(self_c: *const RUBase) -> RUPoint
angle_delta: extern "C" fn(self_c: *const RUBase) -> RUPoint
delta: extern "C" fn(self_c: *const RUBase) -> i32
orientation: extern "C" fn(self_c: *const RUBase) -> u32
pos: extern "C" fn(self_c: *const RUBase) -> RUPoint
global_pos: extern "C" fn(self_c: *const RUBase) -> RUPoint
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
pos_f: extern "C" fn(self_c: *const RUBase) -> RUPointF
global_pos_f: extern "C" fn(self_c: *const RUBase) -> RUPointF
phase: extern "C" fn(self_c: *const RUBase) -> u32
inverted: extern "C" fn(self_c: *const RUBase) -> bool
source: extern "C" fn(self_c: *const RUBase) -> u32
Trait Implementations
sourceimpl Clone for RUWheelEventFuncs
impl Clone for RUWheelEventFuncs
sourcefn clone(&self) -> RUWheelEventFuncs
fn clone(&self) -> RUWheelEventFuncs
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 RUWheelEventFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUWheelEventFuncs
impl Send for RUWheelEventFuncs
impl Sync for RUWheelEventFuncs
impl Unpin for RUWheelEventFuncs
impl UnwindSafe for RUWheelEventFuncs
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