Struct glutin::platform::unix::x11::ffi::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) -> 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, // some fields omitted
Fields
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
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>,