Struct rute::auto::mouse_event_ffi::RUMouseEventFuncs
source · #[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) -> u32,
pub buttons: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_local_pos: extern "C" fn(self_c: *const RUBase, local_position: *const RUBase),
pub source: extern "C" fn(self_c: *const RUBase) -> u32,
pub flags: 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
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
local_pos: extern "C" fn(self_c: *const RUBase) -> RUPointF
window_pos: extern "C" fn(self_c: *const RUBase) -> RUPointF
screen_pos: extern "C" fn(self_c: *const RUBase) -> RUPointF
set_local_pos: extern "C" fn(self_c: *const RUBase, local_position: *const RUBase)
source: extern "C" fn(self_c: *const RUBase) -> u32
flags: extern "C" fn(self_c: *const RUBase) -> u32
Trait Implementations
sourceimpl Clone for RUMouseEventFuncs
impl Clone for RUMouseEventFuncs
sourcefn clone(&self) -> RUMouseEventFuncs
fn clone(&self) -> RUMouseEventFuncs
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 RUMouseEventFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUMouseEventFuncs
impl Send for RUMouseEventFuncs
impl Sync for RUMouseEventFuncs
impl Unpin for RUMouseEventFuncs
impl UnwindSafe for RUMouseEventFuncs
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