pub struct Xcursor {
Show 60 fields _private: (), 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) -> u64, pub XcursorCommentCreate: unsafe extern "C" fn(_: u32, _: i32) -> *mut _XcursorComment, pub XcursorCommentDestroy: unsafe extern "C" fn(_: *mut _XcursorComment), pub XcursorCommentsCreate: unsafe extern "C" fn(_: i32) -> *mut _XcursorComments, pub XcursorCommentsDestroy: unsafe extern "C" fn(_: *mut _XcursorComments), pub XcursorCursorsCreate: unsafe extern "C" fn(_: *mut _XDisplay, _: i32) -> *mut _XcursorCursors, pub XcursorCursorsDestroy: unsafe extern "C" fn(_: *mut _XcursorCursors), pub XcursorFileLoad: unsafe extern "C" fn(_: *mut FILE, _: *mut *mut _XcursorComments, _: *mut *mut _XcursorImages) -> i32, pub XcursorFileLoadAllImages: unsafe extern "C" fn(_: *mut FILE) -> *mut _XcursorImages, pub XcursorFileLoadImage: unsafe extern "C" fn(_: *mut FILE, _: i32) -> *mut _XcursorImage, pub XcursorFileLoadImages: unsafe extern "C" fn(_: *mut FILE, _: i32) -> *mut _XcursorImages, pub XcursorFilenameLoad: unsafe extern "C" fn(_: *const i8, _: *mut *mut _XcursorComments, _: *mut *mut _XcursorImages) -> i32, pub XcursorFilenameLoadAllImages: unsafe extern "C" fn(_: *const i8) -> *mut _XcursorImages, pub XcursorFilenameLoadCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: *const i8) -> u64, pub XcursorFilenameLoadCursors: unsafe extern "C" fn(_: *mut _XDisplay, _: *const i8) -> *mut _XcursorCursors, pub XcursorFilenameLoadImage: unsafe extern "C" fn(_: *const i8, _: i32) -> *mut _XcursorImage, pub XcursorFilenameLoadImages: unsafe extern "C" fn(_: *const i8, _: i32) -> *mut _XcursorImages, pub XcursorFilenameSave: unsafe extern "C" fn(_: *const i8, _: *const _XcursorComments, _: *const _XcursorImages) -> i32, pub XcursorFilenameSaveImages: unsafe extern "C" fn(_: *const i8, _: *const _XcursorImages) -> i32, pub XcursorFileSave: unsafe extern "C" fn(_: *mut FILE, _: *const _XcursorComments, _: *const _XcursorImages) -> i32, pub XcursorFileSaveImages: unsafe extern "C" fn(_: *mut FILE, _: *const _XcursorImages) -> i32, pub XcursorGetDefaultSize: unsafe extern "C" fn(_: *mut _XDisplay) -> i32, pub XcursorGetTheme: unsafe extern "C" fn(_: *mut _XDisplay) -> *mut i8, pub XcursorGetThemeCore: unsafe extern "C" fn(_: *mut _XDisplay) -> i32, pub XcursorImageCreate: unsafe extern "C" fn(_: i32, _: i32) -> *mut _XcursorImage, pub XcursorImageDestroy: unsafe extern "C" fn(_: *mut _XcursorImage), pub XcursorImageHash: unsafe extern "C" fn(_: *mut XImage, _: *mut u8), pub XcursorImageLoadCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: *const _XcursorImage) -> u64, pub XcursorImagesCreate: unsafe extern "C" fn(_: i32) -> *mut _XcursorImages, pub XcursorImagesDestroy: unsafe extern "C" fn(_: *mut _XcursorImages), pub XcursorImagesLoadCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: *const _XcursorImages) -> u64, pub XcursorImagesLoadCursors: unsafe extern "C" fn(_: *mut _XDisplay, _: *const _XcursorImages) -> *mut _XcursorCursors, pub XcursorImagesSetName: unsafe extern "C" fn(_: *mut _XcursorImages, _: *const i8), pub XcursorLibraryLoadCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: *const i8) -> u64, pub XcursorLibraryLoadCursors: unsafe extern "C" fn(_: *mut _XDisplay, _: *const i8) -> *mut _XcursorCursors, pub XcursorLibraryLoadImage: unsafe extern "C" fn(_: *const i8, _: *const i8, _: i32) -> *mut _XcursorImage, pub XcursorLibraryLoadImages: unsafe extern "C" fn(_: *const i8, _: *const i8, _: i32) -> *mut _XcursorImages, pub XcursorLibraryPath: unsafe extern "C" fn() -> *const i8, pub XcursorLibraryShape: unsafe extern "C" fn(_: *const i8) -> i32, pub XcursorNoticeCreateBitmap: unsafe extern "C" fn(_: *mut _XDisplay, _: u64, _: u32, _: u32), pub XcursorNoticePutBitmap: unsafe extern "C" fn(_: *mut _XDisplay, _: u64, _: *mut XImage), pub XcursorSetDefaultSize: unsafe extern "C" fn(_: *mut _XDisplay, _: i32) -> i32, pub XcursorSetTheme: unsafe extern "C" fn(_: *mut _XDisplay, _: *const i8) -> i32, pub XcursorSetThemeCore: unsafe extern "C" fn(_: *mut _XDisplay, _: i32) -> i32, pub XcursorShapeLoadCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: u32) -> u64, pub XcursorShapeLoadCursors: unsafe extern "C" fn(_: *mut _XDisplay, _: u32) -> *mut _XcursorCursors, pub XcursorShapeLoadImage: unsafe extern "C" fn(_: u32, _: *const i8, _: i32) -> *mut _XcursorImage, pub XcursorShapeLoadImages: unsafe extern "C" fn(_: u32, _: *const i8, _: i32) -> *mut _XcursorImages, pub XcursorSupportsAnim: unsafe extern "C" fn(_: *mut _XDisplay) -> i32, pub XcursorSupportsARGB: unsafe extern "C" fn(_: *mut _XDisplay) -> i32, pub XcursorTryShapeBitmapCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: u64, _: u64, _: *mut XColor, _: *mut XColor, _: u32, _: u32) -> u64, pub XcursorTryShapeCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: u64, _: u64, _: u32, _: u32, _: *const XColor, _: *const XColor) -> u64, pub XcursorXcFileLoad: unsafe extern "C" fn(_: *mut _XcursorFile, _: *mut *mut _XcursorComments, _: *mut *mut _XcursorImages) -> i32, pub XcursorXcFileLoadAllImages: unsafe extern "C" fn(_: *mut _XcursorFile) -> *mut _XcursorImages, pub XcursorXcFileLoadImage: unsafe extern "C" fn(_: *mut _XcursorFile, _: i32) -> *mut _XcursorImage, pub XcursorXcFileLoadImages: unsafe extern "C" fn(_: *mut _XcursorFile, _: i32) -> *mut _XcursorImages, pub XcursorXcFileSave: unsafe extern "C" fn(_: *mut _XcursorFile, _: *const _XcursorComments, _: *const _XcursorImages) -> i32,
}

Fields§

§_private: ()§XcursorAnimateCreate: unsafe extern "C" fn(_: *mut _XcursorCursors) -> *mut _XcursorAnimate§XcursorAnimateDestroy: unsafe extern "C" fn(_: *mut _XcursorAnimate)§XcursorAnimateNext: unsafe extern "C" fn(_: *mut _XcursorAnimate) -> u64§XcursorCommentCreate: unsafe extern "C" fn(_: u32, _: i32) -> *mut _XcursorComment§XcursorCommentDestroy: unsafe extern "C" fn(_: *mut _XcursorComment)§XcursorCommentsCreate: unsafe extern "C" fn(_: i32) -> *mut _XcursorComments§XcursorCommentsDestroy: unsafe extern "C" fn(_: *mut _XcursorComments)§XcursorCursorsCreate: unsafe extern "C" fn(_: *mut _XDisplay, _: i32) -> *mut _XcursorCursors§XcursorCursorsDestroy: unsafe extern "C" fn(_: *mut _XcursorCursors)§XcursorFileLoad: unsafe extern "C" fn(_: *mut FILE, _: *mut *mut _XcursorComments, _: *mut *mut _XcursorImages) -> i32§XcursorFileLoadAllImages: unsafe extern "C" fn(_: *mut FILE) -> *mut _XcursorImages§XcursorFileLoadImage: unsafe extern "C" fn(_: *mut FILE, _: i32) -> *mut _XcursorImage§XcursorFileLoadImages: unsafe extern "C" fn(_: *mut FILE, _: i32) -> *mut _XcursorImages§XcursorFilenameLoad: unsafe extern "C" fn(_: *const i8, _: *mut *mut _XcursorComments, _: *mut *mut _XcursorImages) -> i32§XcursorFilenameLoadAllImages: unsafe extern "C" fn(_: *const i8) -> *mut _XcursorImages§XcursorFilenameLoadCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: *const i8) -> u64§XcursorFilenameLoadCursors: unsafe extern "C" fn(_: *mut _XDisplay, _: *const i8) -> *mut _XcursorCursors§XcursorFilenameLoadImage: unsafe extern "C" fn(_: *const i8, _: i32) -> *mut _XcursorImage§XcursorFilenameLoadImages: unsafe extern "C" fn(_: *const i8, _: i32) -> *mut _XcursorImages§XcursorFilenameSave: unsafe extern "C" fn(_: *const i8, _: *const _XcursorComments, _: *const _XcursorImages) -> i32§XcursorFilenameSaveImages: unsafe extern "C" fn(_: *const i8, _: *const _XcursorImages) -> i32§XcursorFileSave: unsafe extern "C" fn(_: *mut FILE, _: *const _XcursorComments, _: *const _XcursorImages) -> i32§XcursorFileSaveImages: unsafe extern "C" fn(_: *mut FILE, _: *const _XcursorImages) -> i32§XcursorGetDefaultSize: unsafe extern "C" fn(_: *mut _XDisplay) -> i32§XcursorGetTheme: unsafe extern "C" fn(_: *mut _XDisplay) -> *mut i8§XcursorGetThemeCore: unsafe extern "C" fn(_: *mut _XDisplay) -> i32§XcursorImageCreate: unsafe extern "C" fn(_: i32, _: i32) -> *mut _XcursorImage§XcursorImageDestroy: unsafe extern "C" fn(_: *mut _XcursorImage)§XcursorImageHash: unsafe extern "C" fn(_: *mut XImage, _: *mut u8)§XcursorImageLoadCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: *const _XcursorImage) -> u64§XcursorImagesCreate: unsafe extern "C" fn(_: i32) -> *mut _XcursorImages§XcursorImagesDestroy: unsafe extern "C" fn(_: *mut _XcursorImages)§XcursorImagesLoadCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: *const _XcursorImages) -> u64§XcursorImagesLoadCursors: unsafe extern "C" fn(_: *mut _XDisplay, _: *const _XcursorImages) -> *mut _XcursorCursors§XcursorImagesSetName: unsafe extern "C" fn(_: *mut _XcursorImages, _: *const i8)§XcursorLibraryLoadCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: *const i8) -> u64§XcursorLibraryLoadCursors: unsafe extern "C" fn(_: *mut _XDisplay, _: *const i8) -> *mut _XcursorCursors§XcursorLibraryLoadImage: unsafe extern "C" fn(_: *const i8, _: *const i8, _: i32) -> *mut _XcursorImage§XcursorLibraryLoadImages: unsafe extern "C" fn(_: *const i8, _: *const i8, _: i32) -> *mut _XcursorImages§XcursorLibraryPath: unsafe extern "C" fn() -> *const i8§XcursorLibraryShape: unsafe extern "C" fn(_: *const i8) -> i32§XcursorNoticeCreateBitmap: unsafe extern "C" fn(_: *mut _XDisplay, _: u64, _: u32, _: u32)§XcursorNoticePutBitmap: unsafe extern "C" fn(_: *mut _XDisplay, _: u64, _: *mut XImage)§XcursorSetDefaultSize: unsafe extern "C" fn(_: *mut _XDisplay, _: i32) -> i32§XcursorSetTheme: unsafe extern "C" fn(_: *mut _XDisplay, _: *const i8) -> i32§XcursorSetThemeCore: unsafe extern "C" fn(_: *mut _XDisplay, _: i32) -> i32§XcursorShapeLoadCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: u32) -> u64§XcursorShapeLoadCursors: unsafe extern "C" fn(_: *mut _XDisplay, _: u32) -> *mut _XcursorCursors§XcursorShapeLoadImage: unsafe extern "C" fn(_: u32, _: *const i8, _: i32) -> *mut _XcursorImage§XcursorShapeLoadImages: unsafe extern "C" fn(_: u32, _: *const i8, _: i32) -> *mut _XcursorImages§XcursorSupportsAnim: unsafe extern "C" fn(_: *mut _XDisplay) -> i32§XcursorSupportsARGB: unsafe extern "C" fn(_: *mut _XDisplay) -> i32§XcursorTryShapeBitmapCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: u64, _: u64, _: *mut XColor, _: *mut XColor, _: u32, _: u32) -> u64§XcursorTryShapeCursor: unsafe extern "C" fn(_: *mut _XDisplay, _: u64, _: u64, _: u32, _: u32, _: *const XColor, _: *const XColor) -> u64§XcursorXcFileLoad: unsafe extern "C" fn(_: *mut _XcursorFile, _: *mut *mut _XcursorComments, _: *mut *mut _XcursorImages) -> i32§XcursorXcFileLoadAllImages: unsafe extern "C" fn(_: *mut _XcursorFile) -> *mut _XcursorImages§XcursorXcFileLoadImage: unsafe extern "C" fn(_: *mut _XcursorFile, _: i32) -> *mut _XcursorImage§XcursorXcFileLoadImages: unsafe extern "C" fn(_: *mut _XcursorFile, _: i32) -> *mut _XcursorImages§XcursorXcFileSave: unsafe extern "C" fn(_: *mut _XcursorFile, _: *const _XcursorComments, _: *const _XcursorImages) -> i32

Implementations§

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.