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

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

Fields

DPMSQueryExtension: unsafe extern fn(*mut Display, *mut c_int, *mut c_int) -> Bool DPMSGetVersion: unsafe extern fn(*mut Display, *mut c_int, *mut c_int) -> Status DPMSCapable: unsafe extern fn(*mut Display) -> Bool DPMSSetTimeouts: unsafe extern fn(*mut Display, CARD16, CARD16, CARD16) -> Status DPMSGetTimeouts: unsafe extern fn(*mut Display, *mut CARD16, *mut CARD16, *mut CARD16) -> Bool DPMSEnable: unsafe extern fn(*mut Display) -> Status DPMSDisable: unsafe extern fn(*mut Display) -> Status DPMSForceLevel: unsafe extern fn(*mut Display, CARD16) -> Status DPMSInfo: unsafe extern fn(*mut Display, *mut CARD16, *mut BOOL) -> Status

Methods

impl Xext
[src]

fn open() -> Result<XextOpenError>

Trait Implementations

impl Send for Xext
[src]

impl Sync for Xext
[src]