Struct x11_dl::xss::Xss

source ·
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),
    /* private fields */
}

Fields§

§XScreenSaverQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Bool§XScreenSaverQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> Status§XScreenSaverAllocInfo: unsafe extern "C" fn() -> *mut XScreenSaverInfo§XScreenSaverQueryInfo: unsafe extern "C" fn(_: *mut Display, _: Drawable, _: *mut XScreenSaverInfo) -> Status§XScreenSaverSelectInput: 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) -> Status§XScreenSaverUnregister: unsafe extern "C" fn(_: *mut Display, _: c_int) -> Status§XScreenSaverGetRegistered: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut XID, _: *mut Atom) -> Status§XScreenSaverSuspend: unsafe extern "C" fn(_: *mut Display, _: Bool)

Implementations§

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.