pub struct Xf86vmode {Show 22 fields
pub XF86VidModeAddModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeInfo, _: *mut XF86VidModeModeInfo) -> c_int,
pub XF86VidModeDeleteModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeInfo) -> c_int,
pub XF86VidModeGetAllModeLines: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int, _: *mut *mut *mut XF86VidModeModeInfo) -> c_int,
pub XF86VidModeGetDotClocks: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut *mut c_int) -> c_int,
pub XF86VidModeGetGamma: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeGamma) -> c_int,
pub XF86VidModeGetGammaRamp: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: *mut c_ushort, _: *mut c_ushort, _: *mut c_ushort) -> c_int,
pub XF86VidModeGetGammaRampSize: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> c_int,
pub XF86VidModeGetModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int, _: *mut XF86VidModeModeLine) -> c_int,
pub XF86VidModeGetMonitor: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeMonitor) -> c_int,
pub XF86VidModeGetPermissions: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> c_int,
pub XF86VidModeGetViewPort: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int, _: *mut c_int) -> c_int,
pub XF86VidModeLockModeSwitch: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int) -> c_int,
pub XF86VidModeModModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeLine) -> c_int,
pub XF86VidModeQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int,
pub XF86VidModeQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int,
pub XF86VidModeSetClientVersion: unsafe extern "C" fn(_: *mut Display) -> c_int,
pub XF86VidModeSetGamma: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeGamma) -> c_int,
pub XF86VidModeSetGammaRamp: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: *mut c_ushort, _: *mut c_ushort, _: *mut c_ushort) -> c_int,
pub XF86VidModeSetViewPort: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int) -> c_int,
pub XF86VidModeSwitchMode: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int) -> c_int,
pub XF86VidModeSwitchToMode: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeInfo) -> c_int,
pub XF86VidModeValidateModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeInfo) -> c_int,
// some fields omitted
}
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.