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,
/* private fields */
}
Fields§
§XF86VidModeAddModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeInfo, _: *mut XF86VidModeModeInfo) -> c_int
§XF86VidModeDeleteModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeInfo) -> c_int
§XF86VidModeGetAllModeLines: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int, _: *mut *mut *mut XF86VidModeModeInfo) -> c_int
§XF86VidModeGetDotClocks: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut *mut c_int) -> c_int
§XF86VidModeGetGamma: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeGamma) -> c_int
§XF86VidModeGetGammaRamp: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: *mut c_ushort, _: *mut c_ushort, _: *mut c_ushort) -> c_int
§XF86VidModeGetGammaRampSize: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> c_int
§XF86VidModeGetModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int, _: *mut XF86VidModeModeLine) -> c_int
§XF86VidModeGetMonitor: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeMonitor) -> c_int
§XF86VidModeGetPermissions: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> c_int
§XF86VidModeGetViewPort: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int, _: *mut c_int) -> c_int
§XF86VidModeLockModeSwitch: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int) -> c_int
§XF86VidModeModModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeLine) -> c_int
§XF86VidModeQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int
§XF86VidModeQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int
§XF86VidModeSetClientVersion: unsafe extern "C" fn(_: *mut Display) -> c_int
§XF86VidModeSetGamma: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeGamma) -> c_int
§XF86VidModeSetGammaRamp: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: *mut c_ushort, _: *mut c_ushort, _: *mut c_ushort) -> c_int
§XF86VidModeSetViewPort: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int) -> c_int
§XF86VidModeSwitchMode: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int) -> c_int
§XF86VidModeSwitchToMode: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeInfo) -> c_int
§XF86VidModeValidateModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeInfo) -> c_int
Implementations§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more