Type Alias XcursorFile

Source
pub type XcursorFile = _XcursorFile;

Aliased Type§

#[repr(C)]
pub struct XcursorFile { pub closure: *mut c_void, pub read: Option<unsafe extern "C" fn(*mut _XcursorFile, *mut u8, i32) -> i32>, pub write: Option<unsafe extern "C" fn(*mut _XcursorFile, *mut u8, i32) -> i32>, pub seek: Option<unsafe extern "C" fn(*mut _XcursorFile, i64, i32) -> i32>, }

Fields§

§closure: *mut c_void§read: Option<unsafe extern "C" fn(*mut _XcursorFile, *mut u8, i32) -> i32>§write: Option<unsafe extern "C" fn(*mut _XcursorFile, *mut u8, i32) -> i32>§seek: Option<unsafe extern "C" fn(*mut _XcursorFile, i64, i32) -> i32>

Trait Implementations

Source§

impl Clone for _XcursorFile

Source§

fn clone(&self) -> _XcursorFile

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _XcursorFile

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for _XcursorFile