[][src]Struct x11_dl::dpms::Xext

pub struct Xext {
    pub DPMSQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Bool,
    pub DPMSGetVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status,
    pub DPMSCapable: unsafe extern "C" fn(_: *mut Display) -> Bool,
    pub DPMSSetTimeouts: unsafe extern "C" fn(_: *mut Display, _: CARD16, _: CARD16, _: CARD16) -> Status,
    pub DPMSGetTimeouts: unsafe extern "C" fn(_: *mut Display, _: *mut CARD16, _: *mut CARD16, _: *mut CARD16) -> Bool,
    pub DPMSEnable: unsafe extern "C" fn(_: *mut Display) -> Status,
    pub DPMSDisable: unsafe extern "C" fn(_: *mut Display) -> Status,
    pub DPMSForceLevel: unsafe extern "C" fn(_: *mut Display, _: CARD16) -> Status,
    pub DPMSInfo: unsafe extern "C" fn(_: *mut Display, _: *mut CARD16, _: *mut BOOL) -> Status,
    // some fields omitted
}

Fields

DPMSQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> BoolDPMSGetVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> StatusDPMSCapable: unsafe extern "C" fn(_: *mut Display) -> BoolDPMSSetTimeouts: unsafe extern "C" fn(_: *mut Display, _: CARD16, _: CARD16, _: CARD16) -> StatusDPMSGetTimeouts: unsafe extern "C" fn(_: *mut Display, _: *mut CARD16, _: *mut CARD16, _: *mut CARD16) -> BoolDPMSEnable: unsafe extern "C" fn(_: *mut Display) -> StatusDPMSDisable: unsafe extern "C" fn(_: *mut Display) -> StatusDPMSForceLevel: unsafe extern "C" fn(_: *mut Display, _: CARD16) -> StatusDPMSInfo: unsafe extern "C" fn(_: *mut Display, _: *mut CARD16, _: *mut BOOL) -> Status

Methods

impl Xext[src]

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

Trait Implementations

impl Send for Xext[src]

impl Sync for Xext[src]

Auto Trait Implementations

impl Unpin for Xext

impl UnwindSafe for Xext

impl RefUnwindSafe for Xext

Blanket Implementations

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

impl<T> From<T> for 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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