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) -> 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
impl Xss
[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>,