Struct x11_dl::xrandr::Xrandr_2_2_0

source ·
pub struct Xrandr_2_2_0 {
Show 65 fields pub XRRAddOutputMode: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: RRMode), pub XRRAllocGamma: unsafe extern "C" fn(_: c_int) -> *mut XRRCrtcGamma, pub XRRAllocModeInfo: unsafe extern "C" fn(_: *const c_char, _: c_int) -> *mut XRRModeInfo, pub XRRChangeOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom, _: Atom, _: c_int, _: c_int, _: *const c_uchar, _: c_int), pub XRRChangeProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom, _: Atom, _: c_int, _: c_int, _: *const c_uchar, _: c_int), pub XRRConfigCurrentConfiguration: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut Rotation) -> SizeID, pub XRRConfigCurrentRate: unsafe extern "C" fn(_: *mut XRRScreenConfiguration) -> c_short, pub XRRConfigRates: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: c_int, _: *mut c_int) -> *mut c_short, pub XRRConfigRotations: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut Rotation) -> Rotation, pub XRRConfigSizes: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut c_int) -> *mut XRRScreenSize, pub XRRConfigTimes: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut Time) -> Time, pub XRRConfigureOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom, _: Bool, _: Bool, _: c_int, _: *mut c_long), pub XRRConfigureProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom, _: Bool, _: Bool, _: c_int, _: *mut c_long), pub XRRCreateMode: unsafe extern "C" fn(_: *mut Display, _: Window, _: *mut XRRModeInfo) -> RRMode, pub XRRDeleteOutputMode: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: RRMode), pub XRRDeleteOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom), pub XRRDeleteProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom), pub XRRDestroyMode: unsafe extern "C" fn(_: *mut Display, _: RRMode), 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 Display, _: RRCrtc) -> *mut XRRCrtcGamma, pub XRRGetCrtcGammaSize: unsafe extern "C" fn(_: *mut Display, _: RRCrtc) -> c_int, pub XRRGetCrtcInfo: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc) -> *mut XRRCrtcInfo, pub XRRGetCrtcTransform: unsafe extern "C" fn(_: *mut Display, _: RRCrtc, _: *mut *mut XRRCrtcTransformAttributes) -> Status, pub XRRGetOutputInfo: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RROutput) -> *mut XRROutputInfo, pub XRRGetOutputPrimary: unsafe extern "C" fn(_: *mut Display, _: Window) -> RROutput, pub XRRGetOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom, _: c_long, _: c_long, _: Bool, _: Bool, _: Atom, _: *mut Atom, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_int, pub XRRGetPanning: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc) -> *mut XRRPanning, pub XRRGetProviderInfo: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRProvider) -> *mut XRRProviderInfo, pub XRRGetProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom, _: c_long, _: c_long, _: Bool, _: Bool, _: Atom, _: *mut Atom, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_int, pub XRRGetProviderResources: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRProviderResources, pub XRRGetScreenInfo: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRScreenConfiguration, pub XRRGetScreenResources: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRScreenResources, pub XRRGetScreenResourcesCurrent: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRScreenResources, pub XRRGetScreenSizeRange: unsafe extern "C" fn(_: *mut Display, _: Window, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> Status, pub XRRListOutputProperties: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: *mut c_int) -> *mut Atom, pub XRRListProviderProperties: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: *mut c_int) -> *mut Atom, pub XRRQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Bool, pub XRRQueryOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom) -> *mut XRRPropertyInfo, pub XRRQueryProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom) -> *mut XRRPropertyInfo, pub XRRQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status, pub XRRRates: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: *mut c_int) -> *mut c_short, pub XRRRootToScreen: unsafe extern "C" fn(_: *mut Display, _: Window) -> c_int, pub XRRRotations: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut Rotation) -> Rotation, pub XRRSelectInput: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int), pub XRRSetCrtcConfig: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc, _: Time, _: c_int, _: c_int, _: RRMode, _: Rotation, _: *mut RROutput, _: c_int) -> Status, pub XRRSetCrtcGamma: unsafe extern "C" fn(_: *mut Display, _: RRCrtc, _: *mut XRRCrtcGamma), pub XRRSetCrtcTransform: unsafe extern "C" fn(_: *mut Display, _: RRCrtc, _: *mut XTransform, _: *const c_char, _: *mut XFixed, _: c_int), pub XRRSetOutputPrimary: unsafe extern "C" fn(_: *mut Display, _: Window, _: RROutput), pub XRRSetPanning: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc, _: *mut XRRPanning) -> Status, pub XRRSetProviderOffloadSink: unsafe extern "C" fn(_: *mut Display, _: XID, _: XID) -> c_int, pub XRRSetProviderOutputSource: unsafe extern "C" fn(_: *mut Display, _: XID, _: XID) -> c_int, pub XRRSetScreenConfig: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenConfiguration, _: Drawable, _: c_int, _: Rotation, _: Time) -> Status, pub XRRSetScreenConfigAndRate: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenConfiguration, _: Drawable, _: c_int, _: Rotation, _: c_short, _: Time) -> Status, pub XRRSetScreenSize: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int, _: c_int, _: c_int, _: c_int), pub XRRSizes: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut XRRScreenSize, pub XRRTimes: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut Time) -> Time, pub XRRUpdateConfiguration: unsafe extern "C" fn(_: *mut XEvent) -> c_int, /* private fields */
}

Fields§

§XRRAddOutputMode: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: RRMode)§XRRAllocGamma: unsafe extern "C" fn(_: c_int) -> *mut XRRCrtcGamma§XRRAllocModeInfo: unsafe extern "C" fn(_: *const c_char, _: c_int) -> *mut XRRModeInfo§XRRChangeOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom, _: Atom, _: c_int, _: c_int, _: *const c_uchar, _: c_int)§XRRChangeProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom, _: Atom, _: c_int, _: c_int, _: *const c_uchar, _: c_int)§XRRConfigCurrentConfiguration: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut Rotation) -> SizeID§XRRConfigCurrentRate: unsafe extern "C" fn(_: *mut XRRScreenConfiguration) -> c_short§XRRConfigRates: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: c_int, _: *mut c_int) -> *mut c_short§XRRConfigRotations: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut Rotation) -> Rotation§XRRConfigSizes: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut c_int) -> *mut XRRScreenSize§XRRConfigTimes: unsafe extern "C" fn(_: *mut XRRScreenConfiguration, _: *mut Time) -> Time§XRRConfigureOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom, _: Bool, _: Bool, _: c_int, _: *mut c_long)§XRRConfigureProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom, _: Bool, _: Bool, _: c_int, _: *mut c_long)§XRRCreateMode: unsafe extern "C" fn(_: *mut Display, _: Window, _: *mut XRRModeInfo) -> RRMode§XRRDeleteOutputMode: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: RRMode)§XRRDeleteOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom)§XRRDeleteProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom)§XRRDestroyMode: unsafe extern "C" fn(_: *mut Display, _: RRMode)§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 Display, _: RRCrtc) -> *mut XRRCrtcGamma§XRRGetCrtcGammaSize: unsafe extern "C" fn(_: *mut Display, _: RRCrtc) -> c_int§XRRGetCrtcInfo: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc) -> *mut XRRCrtcInfo§XRRGetCrtcTransform: unsafe extern "C" fn(_: *mut Display, _: RRCrtc, _: *mut *mut XRRCrtcTransformAttributes) -> Status§XRRGetOutputInfo: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RROutput) -> *mut XRROutputInfo§XRRGetOutputPrimary: unsafe extern "C" fn(_: *mut Display, _: Window) -> RROutput§XRRGetOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom, _: c_long, _: c_long, _: Bool, _: Bool, _: Atom, _: *mut Atom, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_int§XRRGetPanning: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc) -> *mut XRRPanning§XRRGetProviderInfo: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRProvider) -> *mut XRRProviderInfo§XRRGetProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom, _: c_long, _: c_long, _: Bool, _: Bool, _: Atom, _: *mut Atom, _: *mut c_int, _: *mut c_ulong, _: *mut c_ulong, _: *mut *mut c_uchar) -> c_int§XRRGetProviderResources: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRProviderResources§XRRGetScreenInfo: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRScreenConfiguration§XRRGetScreenResources: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRScreenResources§XRRGetScreenResourcesCurrent: unsafe extern "C" fn(_: *mut Display, _: Window) -> *mut XRRScreenResources§XRRGetScreenSizeRange: unsafe extern "C" fn(_: *mut Display, _: Window, _: *mut c_int, _: *mut c_int, _: *mut c_int, _: *mut c_int) -> Status§XRRListOutputProperties: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: *mut c_int) -> *mut Atom§XRRListProviderProperties: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: *mut c_int) -> *mut Atom§XRRQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Bool§XRRQueryOutputProperty: unsafe extern "C" fn(_: *mut Display, _: RROutput, _: Atom) -> *mut XRRPropertyInfo§XRRQueryProviderProperty: unsafe extern "C" fn(_: *mut Display, _: RRProvider, _: Atom) -> *mut XRRPropertyInfo§XRRQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status§XRRRates: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int, _: *mut c_int) -> *mut c_short§XRRRootToScreen: unsafe extern "C" fn(_: *mut Display, _: Window) -> c_int§XRRRotations: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut Rotation) -> Rotation§XRRSelectInput: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int)§XRRSetCrtcConfig: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc, _: Time, _: c_int, _: c_int, _: RRMode, _: Rotation, _: *mut RROutput, _: c_int) -> Status§XRRSetCrtcGamma: unsafe extern "C" fn(_: *mut Display, _: RRCrtc, _: *mut XRRCrtcGamma)§XRRSetCrtcTransform: unsafe extern "C" fn(_: *mut Display, _: RRCrtc, _: *mut XTransform, _: *const c_char, _: *mut XFixed, _: c_int)§XRRSetOutputPrimary: unsafe extern "C" fn(_: *mut Display, _: Window, _: RROutput)§XRRSetPanning: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenResources, _: RRCrtc, _: *mut XRRPanning) -> Status§XRRSetProviderOffloadSink: unsafe extern "C" fn(_: *mut Display, _: XID, _: XID) -> c_int§XRRSetProviderOutputSource: unsafe extern "C" fn(_: *mut Display, _: XID, _: XID) -> c_int§XRRSetScreenConfig: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenConfiguration, _: Drawable, _: c_int, _: Rotation, _: Time) -> Status§XRRSetScreenConfigAndRate: unsafe extern "C" fn(_: *mut Display, _: *mut XRRScreenConfiguration, _: Drawable, _: c_int, _: Rotation, _: c_short, _: Time) -> Status§XRRSetScreenSize: unsafe extern "C" fn(_: *mut Display, _: Window, _: c_int, _: c_int, _: c_int, _: c_int)§XRRSizes: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut XRRScreenSize§XRRTimes: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut Time) -> Time§XRRUpdateConfiguration: unsafe extern "C" fn(_: *mut XEvent) -> c_int

Implementations§

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.