Struct x11_dl::xss::Xss[][src]

pub struct Xss {
    pub XScreenSaverQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Bool,
    pub XScreenSaverQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status,
    pub XScreenSaverAllocInfo: unsafe extern "C" fn() -> *mut XScreenSaverInfo,
    pub XScreenSaverQueryInfo: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut XScreenSaverInfo) -> Status,
    pub XScreenSaverSelectInput: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: c_ulong),
    pub XScreenSaverSetAttributes: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_uint, _: c_int, _: c_uint, _: *mut Visual, _: c_ulong, _: *mut XSetWindowAttributes),
    pub XScreenSaverUnsetAttributes: unsafe extern "C" fn(_: *mut Display, _: Drawable),
    pub XScreenSaverRegister: unsafe extern "C" fn(_: *mut Display, _: c_int, _: XID, _: Atom) -> Status,
    pub XScreenSaverUnregister: unsafe extern "C" fn(_: *mut Display, _: c_int) -> Status,
    pub XScreenSaverGetRegistered: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XID, _: *mut Atom) -> Status,
    pub XScreenSaverSuspend: unsafe extern "C" fn(_: *mut Display, _: Bool),
    // some fields omitted
}

Fields

XScreenSaverQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> BoolXScreenSaverQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> StatusXScreenSaverAllocInfo: unsafe extern "C" fn() -> *mut XScreenSaverInfoXScreenSaverQueryInfo: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut XScreenSaverInfo) -> StatusXScreenSaverSelectInput: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: c_ulong)XScreenSaverSetAttributes: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: c_int, _: c_int, _: c_uint, _: c_uint, _: c_uint, _: c_int, _: c_uint, _: *mut Visual, _: c_ulong, _: *mut XSetWindowAttributes)XScreenSaverUnsetAttributes: unsafe extern "C" fn(_: *mut Display, _: Drawable)XScreenSaverRegister: unsafe extern "C" fn(_: *mut Display, _: c_int, _: XID, _: Atom) -> StatusXScreenSaverUnregister: unsafe extern "C" fn(_: *mut Display, _: c_int) -> StatusXScreenSaverGetRegistered: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XID, _: *mut Atom) -> StatusXScreenSaverSuspend: unsafe extern "C" fn(_: *mut Display, _: Bool)

Implementations

impl Xss[src]

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

Trait Implementations

impl Send for Xss[src]

impl Sync for Xss[src]

Auto Trait Implementations

impl RefUnwindSafe for Xss

impl Unpin for Xss

impl UnwindSafe for Xss

Blanket Implementations

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

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

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

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.