Struct x11_dl::xf86vmode::Xf86vmode [−][src]
pub struct Xf86vmode {Show 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
}Fields
XF86VidModeAddModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeInfo, _: *mut XF86VidModeModeInfo) -> c_intXF86VidModeDeleteModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeInfo) -> c_intXF86VidModeGetAllModeLines: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int, _: *mut *mut *mut XF86VidModeModeInfo) -> c_intXF86VidModeGetDotClocks: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut *mut c_int) -> c_intXF86VidModeGetGamma: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeGamma) -> c_intXF86VidModeGetGammaRamp: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: *mut c_ushort, _: *mut c_ushort, _: *mut c_ushort) -> c_intXF86VidModeGetGammaRampSize: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> c_intXF86VidModeGetModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int, _: *mut XF86VidModeModeLine) -> c_intXF86VidModeGetMonitor: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeMonitor) -> c_intXF86VidModeGetPermissions: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> c_intXF86VidModeGetViewPort: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int, _: *mut c_int) -> c_intXF86VidModeLockModeSwitch: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int) -> c_intXF86VidModeModModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeLine) -> c_intXF86VidModeQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_intXF86VidModeQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_intXF86VidModeSetClientVersion: unsafe extern "C" fn(_: *mut Display) -> c_intXF86VidModeSetGamma: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeGamma) -> c_intXF86VidModeSetGammaRamp: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: *mut c_ushort, _: *mut c_ushort, _: *mut c_ushort) -> c_intXF86VidModeSetViewPort: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: c_int) -> c_intXF86VidModeSwitchMode: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int) -> c_intXF86VidModeSwitchToMode: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeInfo) -> c_intXF86VidModeValidateModeLine: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XF86VidModeModeInfo) -> c_intImplementations
impl Xf86vmode[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>,