Struct x11_dl::xcursor::Xcursor [−][src]
pub struct Xcursor {Show fields
pub XcursorAnimateCreate: unsafe extern "C" fn(_: *mut XcursorCursors) -> *mut XcursorAnimate,
pub XcursorAnimateDestroy: unsafe extern "C" fn(_: *mut XcursorAnimate),
pub XcursorAnimateNext: unsafe extern "C" fn(_: *mut XcursorAnimate) -> c_ulong,
pub XcursorCommentCreate: unsafe extern "C" fn(_: c_uint, _: c_int) -> *mut XcursorComment,
pub XcursorCommentDestroy: unsafe extern "C" fn(_: *mut XcursorComment),
pub XcursorCommentsCreate: unsafe extern "C" fn(_: c_int) -> *mut XcursorComments,
pub XcursorCommentsDestroy: unsafe extern "C" fn(_: *mut XcursorComments),
pub XcursorCursorsCreate: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *mut XcursorCursors,
pub XcursorCursorsDestroy: unsafe extern "C" fn(_: *mut XcursorCursors),
pub XcursorFileLoad: unsafe extern "C" fn(_: *mut FILE, _: *mut *mut XcursorComments, _: *mut *mut XcursorImages) -> c_int,
pub XcursorFileLoadAllImages: unsafe extern "C" fn(_: *mut FILE) -> *mut XcursorImages,
pub XcursorFileLoadImage: unsafe extern "C" fn(_: *mut FILE, _: c_int) -> *mut XcursorImage,
pub XcursorFileLoadImages: unsafe extern "C" fn(_: *mut FILE, _: c_int) -> *mut XcursorImages,
pub XcursorFilenameLoad: unsafe extern "C" fn(_: *const c_char, _: *mut *mut XcursorComments, _: *mut *mut XcursorImages) -> c_int,
pub XcursorFilenameLoadAllImages: unsafe extern "C" fn(_: *const c_char) -> *mut XcursorImages,
pub XcursorFilenameLoadCursor: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> c_ulong,
pub XcursorFilenameLoadCursors: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> *mut XcursorCursors,
pub XcursorFilenameLoadImage: unsafe extern "C" fn(_: *const c_char, _: c_int) -> *mut XcursorImage,
pub XcursorFilenameLoadImages: unsafe extern "C" fn(_: *const c_char, _: c_int) -> *mut XcursorImages,
pub XcursorFilenameSave: unsafe extern "C" fn(_: *const c_char, _: *const XcursorComments, _: *const XcursorImages) -> c_int,
pub XcursorFilenameSaveImages: unsafe extern "C" fn(_: *const c_char, _: *const XcursorImages) -> c_int,
pub XcursorFileSave: unsafe extern "C" fn(_: *mut FILE, _: *const XcursorComments, _: *const XcursorImages) -> c_int,
pub XcursorFileSaveImages: unsafe extern "C" fn(_: *mut FILE, _: *const XcursorImages) -> c_int,
pub XcursorGetDefaultSize: unsafe extern "C" fn(_: *mut Display) -> c_int,
pub XcursorGetTheme: unsafe extern "C" fn(_: *mut Display) -> *mut c_char,
pub XcursorGetThemeCore: unsafe extern "C" fn(_: *mut Display) -> c_int,
pub XcursorImageCreate: unsafe extern "C" fn(_: c_int, _: c_int) -> *mut XcursorImage,
pub XcursorImageDestroy: unsafe extern "C" fn(_: *mut XcursorImage),
pub XcursorImageHash: unsafe extern "C" fn(_: *mut XImage, _: *mut c_uchar),
pub XcursorImageLoadCursor: unsafe extern "C" fn(_: *mut Display, _: *const XcursorImage) -> c_ulong,
pub XcursorImagesCreate: unsafe extern "C" fn(_: c_int) -> *mut XcursorImages,
pub XcursorImagesDestroy: unsafe extern "C" fn(_: *mut XcursorImages),
pub XcursorImagesLoadCursor: unsafe extern "C" fn(_: *mut Display, _: *const XcursorImages) -> c_ulong,
pub XcursorImagesLoadCursors: unsafe extern "C" fn(_: *mut Display, _: *const XcursorImages) -> *mut XcursorCursors,
pub XcursorImagesSetName: unsafe extern "C" fn(_: *mut XcursorImages, _: *const c_char),
pub XcursorLibraryLoadCursor: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> c_ulong,
pub XcursorLibraryLoadCursors: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> *mut XcursorCursors,
pub XcursorLibraryLoadImage: unsafe extern "C" fn(_: *const c_char, _: *const c_char, _: c_int) -> *mut XcursorImage,
pub XcursorLibraryLoadImages: unsafe extern "C" fn(_: *const c_char, _: *const c_char, _: c_int) -> *mut XcursorImages,
pub XcursorLibraryPath: unsafe extern "C" fn() -> *const c_char,
pub XcursorLibraryShape: unsafe extern "C" fn(_: *const c_char) -> c_int,
pub XcursorNoticeCreateBitmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint),
pub XcursorNoticePutBitmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XImage),
pub XcursorSetDefaultSize: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
pub XcursorSetTheme: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> c_int,
pub XcursorSetThemeCore: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_int,
pub XcursorShapeLoadCursor: unsafe extern "C" fn(_: *mut Display, _: c_uint) -> c_ulong,
pub XcursorShapeLoadCursors: unsafe extern "C" fn(_: *mut Display, _: c_uint) -> *mut XcursorCursors,
pub XcursorShapeLoadImage: unsafe extern "C" fn(_: c_uint, _: *const c_char, _: c_int) -> *mut XcursorImage,
pub XcursorShapeLoadImages: unsafe extern "C" fn(_: c_uint, _: *const c_char, _: c_int) -> *mut XcursorImages,
pub XcursorSupportsAnim: unsafe extern "C" fn(_: *mut Display) -> c_int,
pub XcursorSupportsARGB: unsafe extern "C" fn(_: *mut Display) -> c_int,
pub XcursorTryShapeBitmapCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: *mut XColor, _: *mut XColor, _: c_uint, _: c_uint) -> c_ulong,
pub XcursorTryShapeCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_uint, _: c_uint, _: *const XColor, _: *const XColor) -> c_ulong,
pub XcursorXcFileLoad: unsafe extern "C" fn(_: *mut XcursorFile, _: *mut *mut XcursorComments, _: *mut *mut XcursorImages) -> c_int,
pub XcursorXcFileLoadAllImages: unsafe extern "C" fn(_: *mut XcursorFile) -> *mut XcursorImages,
pub XcursorXcFileLoadImage: unsafe extern "C" fn(_: *mut XcursorFile, _: c_int) -> *mut XcursorImage,
pub XcursorXcFileLoadImages: unsafe extern "C" fn(_: *mut XcursorFile, _: c_int) -> *mut XcursorImages,
pub XcursorXcFileSave: unsafe extern "C" fn(_: *mut XcursorFile, _: *const XcursorComments, _: *const XcursorImages) -> c_int,
// some fields omitted
}Fields
XcursorAnimateCreate: unsafe extern "C" fn(_: *mut XcursorCursors) -> *mut XcursorAnimateXcursorAnimateDestroy: unsafe extern "C" fn(_: *mut XcursorAnimate)XcursorAnimateNext: unsafe extern "C" fn(_: *mut XcursorAnimate) -> c_ulongXcursorCommentCreate: unsafe extern "C" fn(_: c_uint, _: c_int) -> *mut XcursorCommentXcursorCommentDestroy: unsafe extern "C" fn(_: *mut XcursorComment)XcursorCommentsCreate: unsafe extern "C" fn(_: c_int) -> *mut XcursorCommentsXcursorCommentsDestroy: unsafe extern "C" fn(_: *mut XcursorComments)XcursorCursorsCreate: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *mut XcursorCursorsXcursorCursorsDestroy: unsafe extern "C" fn(_: *mut XcursorCursors)XcursorFileLoad: unsafe extern "C" fn(_: *mut FILE, _: *mut *mut XcursorComments, _: *mut *mut XcursorImages) -> c_intXcursorFileLoadAllImages: unsafe extern "C" fn(_: *mut FILE) -> *mut XcursorImagesXcursorFileLoadImage: unsafe extern "C" fn(_: *mut FILE, _: c_int) -> *mut XcursorImageXcursorFileLoadImages: unsafe extern "C" fn(_: *mut FILE, _: c_int) -> *mut XcursorImagesXcursorFilenameLoad: unsafe extern "C" fn(_: *const c_char, _: *mut *mut XcursorComments, _: *mut *mut XcursorImages) -> c_intXcursorFilenameLoadAllImages: unsafe extern "C" fn(_: *const c_char) -> *mut XcursorImagesXcursorFilenameLoadCursor: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> c_ulongXcursorFilenameLoadCursors: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> *mut XcursorCursorsXcursorFilenameLoadImage: unsafe extern "C" fn(_: *const c_char, _: c_int) -> *mut XcursorImageXcursorFilenameLoadImages: unsafe extern "C" fn(_: *const c_char, _: c_int) -> *mut XcursorImagesXcursorFilenameSave: unsafe extern "C" fn(_: *const c_char, _: *const XcursorComments, _: *const XcursorImages) -> c_intXcursorFilenameSaveImages: unsafe extern "C" fn(_: *const c_char, _: *const XcursorImages) -> c_intXcursorFileSave: unsafe extern "C" fn(_: *mut FILE, _: *const XcursorComments, _: *const XcursorImages) -> c_intXcursorFileSaveImages: unsafe extern "C" fn(_: *mut FILE, _: *const XcursorImages) -> c_intXcursorGetDefaultSize: unsafe extern "C" fn(_: *mut Display) -> c_intXcursorGetTheme: unsafe extern "C" fn(_: *mut Display) -> *mut c_charXcursorGetThemeCore: unsafe extern "C" fn(_: *mut Display) -> c_intXcursorImageCreate: unsafe extern "C" fn(_: c_int, _: c_int) -> *mut XcursorImageXcursorImageDestroy: unsafe extern "C" fn(_: *mut XcursorImage)XcursorImageHash: unsafe extern "C" fn(_: *mut XImage, _: *mut c_uchar)XcursorImageLoadCursor: unsafe extern "C" fn(_: *mut Display, _: *const XcursorImage) -> c_ulongXcursorImagesCreate: unsafe extern "C" fn(_: c_int) -> *mut XcursorImagesXcursorImagesDestroy: unsafe extern "C" fn(_: *mut XcursorImages)XcursorImagesLoadCursor: unsafe extern "C" fn(_: *mut Display, _: *const XcursorImages) -> c_ulongXcursorImagesLoadCursors: unsafe extern "C" fn(_: *mut Display, _: *const XcursorImages) -> *mut XcursorCursorsXcursorImagesSetName: unsafe extern "C" fn(_: *mut XcursorImages, _: *const c_char)XcursorLibraryLoadCursor: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> c_ulongXcursorLibraryLoadCursors: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> *mut XcursorCursorsXcursorLibraryLoadImage: unsafe extern "C" fn(_: *const c_char, _: *const c_char, _: c_int) -> *mut XcursorImageXcursorLibraryLoadImages: unsafe extern "C" fn(_: *const c_char, _: *const c_char, _: c_int) -> *mut XcursorImagesXcursorLibraryPath: unsafe extern "C" fn() -> *const c_charXcursorLibraryShape: unsafe extern "C" fn(_: *const c_char) -> c_intXcursorNoticeCreateBitmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_uint, _: c_uint)XcursorNoticePutBitmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut XImage)XcursorSetDefaultSize: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXcursorSetTheme: unsafe extern "C" fn(_: *mut Display, _: *const c_char) -> c_intXcursorSetThemeCore: unsafe extern "C" fn(_: *mut Display, _: c_int) -> c_intXcursorShapeLoadCursor: unsafe extern "C" fn(_: *mut Display, _: c_uint) -> c_ulongXcursorShapeLoadCursors: unsafe extern "C" fn(_: *mut Display, _: c_uint) -> *mut XcursorCursorsXcursorShapeLoadImage: unsafe extern "C" fn(_: c_uint, _: *const c_char, _: c_int) -> *mut XcursorImageXcursorShapeLoadImages: unsafe extern "C" fn(_: c_uint, _: *const c_char, _: c_int) -> *mut XcursorImagesXcursorSupportsAnim: unsafe extern "C" fn(_: *mut Display) -> c_intXcursorSupportsARGB: unsafe extern "C" fn(_: *mut Display) -> c_intXcursorTryShapeBitmapCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: *mut XColor, _: *mut XColor, _: c_uint, _: c_uint) -> c_ulongXcursorTryShapeCursor: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: c_uint, _: c_uint, _: *const XColor, _: *const XColor) -> c_ulongXcursorXcFileLoad: unsafe extern "C" fn(_: *mut XcursorFile, _: *mut *mut XcursorComments, _: *mut *mut XcursorImages) -> c_intXcursorXcFileLoadAllImages: unsafe extern "C" fn(_: *mut XcursorFile) -> *mut XcursorImagesXcursorXcFileLoadImage: unsafe extern "C" fn(_: *mut XcursorFile, _: c_int) -> *mut XcursorImageXcursorXcFileLoadImages: unsafe extern "C" fn(_: *mut XcursorFile, _: c_int) -> *mut XcursorImagesXcursorXcFileSave: unsafe extern "C" fn(_: *mut XcursorFile, _: *const XcursorComments, _: *const XcursorImages) -> c_intImplementations
impl Xcursor[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,