Struct rute::auto::drop_event_ffi::RUDropEventFuncs
source · #[repr(C)]pub struct RUDropEventFuncs {
pub pos: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub pos_f: extern "C" fn(self_c: *const RUBase) -> RUPointF,
pub mouse_buttons: extern "C" fn(self_c: *const RUBase) -> u32,
pub keyboard_modifiers: extern "C" fn(self_c: *const RUBase) -> u32,
pub possible_actions: extern "C" fn(self_c: *const RUBase) -> u32,
pub proposed_action: extern "C" fn(self_c: *const RUBase) -> u32,
pub accept_proposed_action: extern "C" fn(self_c: *const RUBase),
pub drop_action: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_drop_action: extern "C" fn(self_c: *const RUBase, action: u32),
pub source: extern "C" fn(self_c: *const RUBase) -> RUObject,
pub mime_data: extern "C" fn(self_c: *const RUBase) -> RUMimeData,
}
Fields
pos: extern "C" fn(self_c: *const RUBase) -> RUPoint
pos_f: extern "C" fn(self_c: *const RUBase) -> RUPointF
keyboard_modifiers: extern "C" fn(self_c: *const RUBase) -> u32
possible_actions: extern "C" fn(self_c: *const RUBase) -> u32
proposed_action: extern "C" fn(self_c: *const RUBase) -> u32
accept_proposed_action: extern "C" fn(self_c: *const RUBase)
drop_action: extern "C" fn(self_c: *const RUBase) -> u32
set_drop_action: extern "C" fn(self_c: *const RUBase, action: u32)
source: extern "C" fn(self_c: *const RUBase) -> RUObject
mime_data: extern "C" fn(self_c: *const RUBase) -> RUMimeData
Trait Implementations
sourceimpl Clone for RUDropEventFuncs
impl Clone for RUDropEventFuncs
sourcefn clone(&self) -> RUDropEventFuncs
fn clone(&self) -> RUDropEventFuncs
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 RUDropEventFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUDropEventFuncs
impl Send for RUDropEventFuncs
impl Sync for RUDropEventFuncs
impl Unpin for RUDropEventFuncs
impl UnwindSafe for RUDropEventFuncs
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