Struct x11_dl::dpms::Xext [−][src]
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) -> Bool
DPMSGetVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status
DPMSCapable: unsafe extern "C" fn(_: *mut Display) -> Bool
DPMSSetTimeouts: unsafe extern "C" fn(_: *mut Display, _: CARD16, _: CARD16, _: CARD16) -> Status
DPMSGetTimeouts: unsafe extern "C" fn(_: *mut Display, _: *mut CARD16, _: *mut CARD16, _: *mut CARD16) -> Bool
DPMSEnable: unsafe extern "C" fn(_: *mut Display) -> Status
DPMSDisable: unsafe extern "C" fn(_: *mut Display) -> Status
DPMSForceLevel: unsafe extern "C" fn(_: *mut Display, _: CARD16) -> Status
DPMSInfo: unsafe extern "C" fn(_: *mut Display, _: *mut CARD16, _: *mut BOOL) -> Status
Implementations
impl Xext
[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,