[][src]Struct amethyst_rendy::rendy::wsi::winit::os::unix::x11::ffi::Xrandr

pub struct Xrandr {
    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 XRRAllocateMonitor: unsafe extern "C" fn(*mut _XDisplay, i32) -> *mut XRRMonitorInfo,
    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 XRRDeleteMonitor: unsafe extern "C" fn(*mut _XDisplay, u64, 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 XRRFreeMonitors: unsafe extern "C" fn(*mut XRRMonitorInfo),
    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 XRRGetMonitors: unsafe extern "C" fn(*mut _XDisplay, u64, i32, *mut i32) -> *mut XRRMonitorInfo,
    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 XRRSetMonitor: unsafe extern "C" fn(*mut _XDisplay, u64, *mut XRRMonitorInfo),
    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 XRRModeInfoXRRAllocateMonitor: unsafe extern "C" fn(*mut _XDisplay, i32) -> *mut XRRMonitorInfoXRRChangeOutputProperty: 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) -> u64XRRDeleteMonitor: unsafe extern "C" fn(*mut _XDisplay, u64, u64)XRRDeleteOutputMode: 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)XRRFreeMonitors: unsafe extern "C" fn(*mut XRRMonitorInfo)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) -> i32XRRGetMonitors: unsafe extern "C" fn(*mut _XDisplay, u64, i32, *mut i32) -> *mut XRRMonitorInfoXRRGetOutputInfo: 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)XRRSetMonitor: unsafe extern "C" fn(*mut _XDisplay, u64, *mut XRRMonitorInfo)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

Methods

impl Xrandr[src]

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

Trait Implementations

impl Sync for Xrandr[src]

impl Send for Xrandr[src]

Auto Trait Implementations

impl Unpin for Xrandr

impl UnwindSafe for Xrandr

impl RefUnwindSafe for Xrandr

Blanket Implementations

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.

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

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

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

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more

impl<T> SetParameter for T[src]

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 
[src]

Sets value as a parameter of self.

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

impl<T> Erased for T[src]

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

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]