[][src]Struct glutin::platform::unix::x11::ffi::Xrandr_2_2_0

pub struct Xrandr_2_2_0 {
    pub XRRAddOutputMode: unsafe extern "C" fn(*mut _XDisplay, u64, u64),
    pub XRRAllocGamma: unsafe extern "C" fn(i32) -> *mut XRRCrtcGamma,
    pub XRRAllocModeInfo: unsafe extern "C" fn(*const i8, i32) -> *mut XRRModeInfo,
    pub XRRChangeOutputProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64, u64, i32, i32, *const u8, i32),
    pub XRRChangeProviderProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64, u64, i32, i32, *const u8, i32),
    pub XRRConfigCurrentConfiguration: unsafe extern "C" fn(*mut XRRScreenConfiguration, *mut u16) -> u16,
    pub XRRConfigCurrentRate: unsafe extern "C" fn(*mut XRRScreenConfiguration) -> i16,
    pub XRRConfigRates: unsafe extern "C" fn(*mut XRRScreenConfiguration, i32, *mut i32) -> *mut i16,
    pub XRRConfigRotations: unsafe extern "C" fn(*mut XRRScreenConfiguration, *mut u16) -> u16,
    pub XRRConfigSizes: unsafe extern "C" fn(*mut XRRScreenConfiguration, *mut i32) -> *mut XRRScreenSize,
    pub XRRConfigTimes: unsafe extern "C" fn(*mut XRRScreenConfiguration, *mut u64) -> u64,
    pub XRRConfigureOutputProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64, i32, i32, i32, *mut i64),
    pub XRRConfigureProviderProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64, i32, i32, i32, *mut i64),
    pub XRRCreateMode: unsafe extern "C" fn(*mut _XDisplay, u64, *mut XRRModeInfo) -> u64,
    pub XRRDeleteOutputMode: unsafe extern "C" fn(*mut _XDisplay, u64, u64),
    pub XRRDeleteOutputProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64),
    pub XRRDeleteProviderProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64),
    pub XRRDestroyMode: unsafe extern "C" fn(*mut _XDisplay, u64),
    pub XRRFreeCrtcInfo: unsafe extern "C" fn(*mut XRRCrtcInfo),
    pub XRRFreeGamma: unsafe extern "C" fn(*mut XRRCrtcGamma),
    pub XRRFreeModeInfo: unsafe extern "C" fn(*mut XRRModeInfo),
    pub XRRFreeOutputInfo: unsafe extern "C" fn(*mut XRROutputInfo),
    pub XRRFreePanning: unsafe extern "C" fn(*mut XRRPanning),
    pub XRRFreeProviderInfo: unsafe extern "C" fn(*mut XRRProviderInfo),
    pub XRRFreeProviderResources: unsafe extern "C" fn(*mut XRRProviderResources),
    pub XRRFreeScreenConfigInfo: unsafe extern "C" fn(*mut XRRScreenConfiguration),
    pub XRRFreeScreenResources: unsafe extern "C" fn(*mut XRRScreenResources),
    pub XRRGetCrtcGamma: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XRRCrtcGamma,
    pub XRRGetCrtcGammaSize: unsafe extern "C" fn(*mut _XDisplay, u64) -> i32,
    pub XRRGetCrtcInfo: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenResources, u64) -> *mut XRRCrtcInfo,
    pub XRRGetCrtcTransform: unsafe extern "C" fn(*mut _XDisplay, u64, *mut *mut XRRCrtcTransformAttributes) -> i32,
    pub XRRGetOutputInfo: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenResources, u64) -> *mut XRROutputInfo,
    pub XRRGetOutputPrimary: unsafe extern "C" fn(*mut _XDisplay, u64) -> u64,
    pub XRRGetOutputProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64, i64, i64, i32, i32, u64, *mut u64, *mut i32, *mut u64, *mut u64, *mut *mut u8) -> i32,
    pub XRRGetPanning: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenResources, u64) -> *mut XRRPanning,
    pub XRRGetProviderInfo: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenResources, u64) -> *mut XRRProviderInfo,
    pub XRRGetProviderProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64, i64, i64, i32, i32, u64, *mut u64, *mut i32, *mut u64, *mut u64, *mut *mut u8) -> i32,
    pub XRRGetProviderResources: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XRRProviderResources,
    pub XRRGetScreenInfo: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XRRScreenConfiguration,
    pub XRRGetScreenResources: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XRRScreenResources,
    pub XRRGetScreenResourcesCurrent: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XRRScreenResources,
    pub XRRGetScreenSizeRange: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32, *mut i32, *mut i32, *mut i32) -> i32,
    pub XRRListOutputProperties: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32) -> *mut u64,
    pub XRRListProviderProperties: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32) -> *mut u64,
    pub XRRQueryExtension: unsafe extern "C" fn(*mut _XDisplay, *mut i32, *mut i32) -> i32,
    pub XRRQueryOutputProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64) -> *mut XRRPropertyInfo,
    pub XRRQueryProviderProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64) -> *mut XRRPropertyInfo,
    pub XRRQueryVersion: unsafe extern "C" fn(*mut _XDisplay, *mut i32, *mut i32) -> i32,
    pub XRRRates: unsafe extern "C" fn(*mut _XDisplay, i32, i32, *mut i32) -> *mut i16,
    pub XRRRootToScreen: unsafe extern "C" fn(*mut _XDisplay, u64) -> i32,
    pub XRRRotations: unsafe extern "C" fn(*mut _XDisplay, i32, *mut u16) -> u16,
    pub XRRSelectInput: unsafe extern "C" fn(*mut _XDisplay, u64, i32),
    pub XRRSetCrtcConfig: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenResources, u64, u64, i32, i32, u64, u16, *mut u64, i32) -> i32,
    pub XRRSetCrtcGamma: unsafe extern "C" fn(*mut _XDisplay, u64, *mut XRRCrtcGamma),
    pub XRRSetCrtcTransform: unsafe extern "C" fn(*mut _XDisplay, u64, *mut _XTransform, *const i8, *mut i32, i32),
    pub XRRSetOutputPrimary: unsafe extern "C" fn(*mut _XDisplay, u64, u64),
    pub XRRSetPanning: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenResources, u64, *mut XRRPanning) -> i32,
    pub XRRSetProviderOffloadSink: unsafe extern "C" fn(*mut _XDisplay, u64, u64) -> i32,
    pub XRRSetProviderOutputSource: unsafe extern "C" fn(*mut _XDisplay, u64, u64) -> i32,
    pub XRRSetScreenConfig: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenConfiguration, u64, i32, u16, u64) -> i32,
    pub XRRSetScreenConfigAndRate: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenConfiguration, u64, i32, u16, i16, u64) -> i32,
    pub XRRSetScreenSize: unsafe extern "C" fn(*mut _XDisplay, u64, i32, i32, i32, i32),
    pub XRRSizes: unsafe extern "C" fn(*mut _XDisplay, i32, *mut i32) -> *mut XRRScreenSize,
    pub XRRTimes: unsafe extern "C" fn(*mut _XDisplay, i32, *mut u64) -> u64,
    pub XRRUpdateConfiguration: unsafe extern "C" fn(*mut XEvent) -> i32,
    // some fields omitted
}

Fields

XRRAddOutputMode: unsafe extern "C" fn(*mut _XDisplay, u64, u64)XRRAllocGamma: unsafe extern "C" fn(i32) -> *mut XRRCrtcGammaXRRAllocModeInfo: unsafe extern "C" fn(*const i8, i32) -> *mut XRRModeInfoXRRChangeOutputProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64, u64, i32, i32, *const u8, i32)XRRChangeProviderProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64, u64, i32, i32, *const u8, i32)XRRConfigCurrentConfiguration: unsafe extern "C" fn(*mut XRRScreenConfiguration, *mut u16) -> u16XRRConfigCurrentRate: unsafe extern "C" fn(*mut XRRScreenConfiguration) -> i16XRRConfigRates: unsafe extern "C" fn(*mut XRRScreenConfiguration, i32, *mut i32) -> *mut i16XRRConfigRotations: unsafe extern "C" fn(*mut XRRScreenConfiguration, *mut u16) -> u16XRRConfigSizes: unsafe extern "C" fn(*mut XRRScreenConfiguration, *mut i32) -> *mut XRRScreenSizeXRRConfigTimes: unsafe extern "C" fn(*mut XRRScreenConfiguration, *mut u64) -> u64XRRConfigureOutputProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64, i32, i32, i32, *mut i64)XRRConfigureProviderProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64, i32, i32, i32, *mut i64)XRRCreateMode: unsafe extern "C" fn(*mut _XDisplay, u64, *mut XRRModeInfo) -> u64XRRDeleteOutputMode: unsafe extern "C" fn(*mut _XDisplay, u64, u64)XRRDeleteOutputProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64)XRRDeleteProviderProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64)XRRDestroyMode: unsafe extern "C" fn(*mut _XDisplay, u64)XRRFreeCrtcInfo: unsafe extern "C" fn(*mut XRRCrtcInfo)XRRFreeGamma: unsafe extern "C" fn(*mut XRRCrtcGamma)XRRFreeModeInfo: unsafe extern "C" fn(*mut XRRModeInfo)XRRFreeOutputInfo: unsafe extern "C" fn(*mut XRROutputInfo)XRRFreePanning: unsafe extern "C" fn(*mut XRRPanning)XRRFreeProviderInfo: unsafe extern "C" fn(*mut XRRProviderInfo)XRRFreeProviderResources: unsafe extern "C" fn(*mut XRRProviderResources)XRRFreeScreenConfigInfo: unsafe extern "C" fn(*mut XRRScreenConfiguration)XRRFreeScreenResources: unsafe extern "C" fn(*mut XRRScreenResources)XRRGetCrtcGamma: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XRRCrtcGammaXRRGetCrtcGammaSize: unsafe extern "C" fn(*mut _XDisplay, u64) -> i32XRRGetCrtcInfo: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenResources, u64) -> *mut XRRCrtcInfoXRRGetCrtcTransform: unsafe extern "C" fn(*mut _XDisplay, u64, *mut *mut XRRCrtcTransformAttributes) -> i32XRRGetOutputInfo: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenResources, u64) -> *mut XRROutputInfoXRRGetOutputPrimary: unsafe extern "C" fn(*mut _XDisplay, u64) -> u64XRRGetOutputProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64, i64, i64, i32, i32, u64, *mut u64, *mut i32, *mut u64, *mut u64, *mut *mut u8) -> i32XRRGetPanning: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenResources, u64) -> *mut XRRPanningXRRGetProviderInfo: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenResources, u64) -> *mut XRRProviderInfoXRRGetProviderProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64, i64, i64, i32, i32, u64, *mut u64, *mut i32, *mut u64, *mut u64, *mut *mut u8) -> i32XRRGetProviderResources: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XRRProviderResourcesXRRGetScreenInfo: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XRRScreenConfigurationXRRGetScreenResources: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XRRScreenResourcesXRRGetScreenResourcesCurrent: unsafe extern "C" fn(*mut _XDisplay, u64) -> *mut XRRScreenResourcesXRRGetScreenSizeRange: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32, *mut i32, *mut i32, *mut i32) -> i32XRRListOutputProperties: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32) -> *mut u64XRRListProviderProperties: unsafe extern "C" fn(*mut _XDisplay, u64, *mut i32) -> *mut u64XRRQueryExtension: unsafe extern "C" fn(*mut _XDisplay, *mut i32, *mut i32) -> i32XRRQueryOutputProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64) -> *mut XRRPropertyInfoXRRQueryProviderProperty: unsafe extern "C" fn(*mut _XDisplay, u64, u64) -> *mut XRRPropertyInfoXRRQueryVersion: unsafe extern "C" fn(*mut _XDisplay, *mut i32, *mut i32) -> i32XRRRates: unsafe extern "C" fn(*mut _XDisplay, i32, i32, *mut i32) -> *mut i16XRRRootToScreen: unsafe extern "C" fn(*mut _XDisplay, u64) -> i32XRRRotations: unsafe extern "C" fn(*mut _XDisplay, i32, *mut u16) -> u16XRRSelectInput: unsafe extern "C" fn(*mut _XDisplay, u64, i32)XRRSetCrtcConfig: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenResources, u64, u64, i32, i32, u64, u16, *mut u64, i32) -> i32XRRSetCrtcGamma: unsafe extern "C" fn(*mut _XDisplay, u64, *mut XRRCrtcGamma)XRRSetCrtcTransform: unsafe extern "C" fn(*mut _XDisplay, u64, *mut _XTransform, *const i8, *mut i32, i32)XRRSetOutputPrimary: unsafe extern "C" fn(*mut _XDisplay, u64, u64)XRRSetPanning: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenResources, u64, *mut XRRPanning) -> i32XRRSetProviderOffloadSink: unsafe extern "C" fn(*mut _XDisplay, u64, u64) -> i32XRRSetProviderOutputSource: unsafe extern "C" fn(*mut _XDisplay, u64, u64) -> i32XRRSetScreenConfig: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenConfiguration, u64, i32, u16, u64) -> i32XRRSetScreenConfigAndRate: unsafe extern "C" fn(*mut _XDisplay, *mut XRRScreenConfiguration, u64, i32, u16, i16, u64) -> i32XRRSetScreenSize: unsafe extern "C" fn(*mut _XDisplay, u64, i32, i32, i32, i32)XRRSizes: unsafe extern "C" fn(*mut _XDisplay, i32, *mut i32) -> *mut XRRScreenSizeXRRTimes: unsafe extern "C" fn(*mut _XDisplay, i32, *mut u64) -> u64XRRUpdateConfiguration: unsafe extern "C" fn(*mut XEvent) -> i32

Implementations

impl Xrandr_2_2_0[src]

pub fn open() -> Result<Xrandr_2_2_0, OpenError>[src]

Trait Implementations

impl Send for Xrandr_2_2_0[src]

impl Sync for Xrandr_2_2_0[src]

Auto Trait Implementations

impl RefUnwindSafe for Xrandr_2_2_0

impl Unpin for Xrandr_2_2_0

impl UnwindSafe for Xrandr_2_2_0

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.