pub enum InhibitIdle {
Focus,
Fullscreen,
Open,
None,
Visible,
}Variants§
Focus
Will inhibit idle when the view is focused by any seat
Fullscreen
Will inhibit idle when the view is fullscreen (or a descendant of a fullscreen container) and is visible
Open
Will inhibit idle until the view is closed (or the inhibitor is unset/changed)
None
Will inhibit idle when the view is visible on any output
Visible
Will inhibit idle when the view is visible on any output
Trait Implementations§
Source§impl Clone for InhibitIdle
impl Clone for InhibitIdle
Source§fn clone(&self) -> InhibitIdle
fn clone(&self) -> InhibitIdle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InhibitIdle
impl RefUnwindSafe for InhibitIdle
impl Send for InhibitIdle
impl Sync for InhibitIdle
impl Unpin for InhibitIdle
impl UnwindSafe for InhibitIdle
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