Struct rute::auto::cursor_ffi::RUCursorFuncs
source · #[repr(C)]pub struct RUCursorFuncs {Show 14 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase),
pub shape: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_shape: extern "C" fn(self_c: *const RUBase, new_shape: u32),
pub bitmap: extern "C" fn(self_c: *const RUBase) -> RUBitmap,
pub mask: extern "C" fn(self_c: *const RUBase) -> RUBitmap,
pub pixmap: extern "C" fn(self_c: *const RUBase) -> RUPixmap,
pub hot_spot: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub pos: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub pos_2: extern "C" fn(self_c: *const RUBase, screen: *const RUBase) -> RUPoint,
pub set_pos: extern "C" fn(self_c: *const RUBase, x: i32, y: i32),
pub set_pos_2: extern "C" fn(self_c: *const RUBase, screen: *const RUBase, x: i32, y: i32),
pub set_pos_3: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub set_pos_4: extern "C" fn(self_c: *const RUBase, screen: *const RUBase, p: *const RUBase),
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase)
shape: extern "C" fn(self_c: *const RUBase) -> u32
set_shape: extern "C" fn(self_c: *const RUBase, new_shape: u32)
bitmap: extern "C" fn(self_c: *const RUBase) -> RUBitmap
mask: extern "C" fn(self_c: *const RUBase) -> RUBitmap
pixmap: extern "C" fn(self_c: *const RUBase) -> RUPixmap
hot_spot: extern "C" fn(self_c: *const RUBase) -> RUPoint
pos: extern "C" fn(self_c: *const RUBase) -> RUPoint
pos_2: extern "C" fn(self_c: *const RUBase, screen: *const RUBase) -> RUPoint
set_pos: extern "C" fn(self_c: *const RUBase, x: i32, y: i32)
set_pos_2: extern "C" fn(self_c: *const RUBase, screen: *const RUBase, x: i32, y: i32)
set_pos_3: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
set_pos_4: extern "C" fn(self_c: *const RUBase, screen: *const RUBase, p: *const RUBase)
Trait Implementations
sourceimpl Clone for RUCursorFuncs
impl Clone for RUCursorFuncs
sourcefn clone(&self) -> RUCursorFuncs
fn clone(&self) -> RUCursorFuncs
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 RUCursorFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUCursorFuncs
impl Send for RUCursorFuncs
impl Sync for RUCursorFuncs
impl Unpin for RUCursorFuncs
impl UnwindSafe for RUCursorFuncs
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