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 */
}
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.