pub struct Xcb { /* private fields */ }
Expand description
See the crate-level documentation
Implementations§
Source§impl Xcb
impl Xcb
Sourcepub fn get_idle(&self) -> Result<Duration>
pub fn get_idle(&self) -> Result<Duration>
Get the user’s idle time using the XScreenSaver
plugin
Sourcepub fn get_fullscreen(&self) -> Result<bool>
pub fn get_fullscreen(&self) -> Result<bool>
Get whether or not the user’s currently active window is fullscreen
Sourcepub fn not_when_fullscreen(self: Rc<Self>) -> NotWhenFullscreen
pub fn not_when_fullscreen(self: Rc<Self>) -> NotWhenFullscreen
Return a NotWhenFullscreen
instance for a reference-counted
self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Xcb
impl RefUnwindSafe for Xcb
impl !Send for Xcb
impl !Sync for Xcb
impl Unpin for Xcb
impl UnwindSafe for Xcb
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more