Struct rute::auto::context_menu_event_ffi::RUContextMenuEventFuncs
source · #[repr(C)]pub struct RUContextMenuEventFuncs {
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: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub global_pos: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub reason: extern "C" fn(self_c: *const RUBase) -> u32,
}
Fields
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: extern "C" fn(self_c: *const RUBase) -> RUPoint
global_pos: extern "C" fn(self_c: *const RUBase) -> RUPoint
reason: extern "C" fn(self_c: *const RUBase) -> u32
Trait Implementations
sourceimpl Clone for RUContextMenuEventFuncs
impl Clone for RUContextMenuEventFuncs
sourcefn clone(&self) -> RUContextMenuEventFuncs
fn clone(&self) -> RUContextMenuEventFuncs
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 RUContextMenuEventFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUContextMenuEventFuncs
impl Send for RUContextMenuEventFuncs
impl Sync for RUContextMenuEventFuncs
impl Unpin for RUContextMenuEventFuncs
impl UnwindSafe for RUContextMenuEventFuncs
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