pub enum IdleEvents {
Always,
NativeSuspendOnly,
}Expand description
Whether rightkit-shell://idle events are emitted.
Variants§
Always
Every transition on every platform (the default; macOS and Linux apps pause their own timers from these).
NativeSuspendOnly
Only where the platform really suspends the webview (Windows). On macOS and Linux nothing is suspended, so nothing is emitted.
Implementations§
Trait Implementations§
Source§impl Clone for IdleEvents
impl Clone for IdleEvents
impl Copy for IdleEvents
Source§impl Debug for IdleEvents
impl Debug for IdleEvents
Source§impl Default for IdleEvents
impl Default for IdleEvents
impl Eq for IdleEvents
Source§impl PartialEq for IdleEvents
impl PartialEq for IdleEvents
impl StructuralPartialEq for IdleEvents
Auto Trait Implementations§
impl Freeze for IdleEvents
impl RefUnwindSafe for IdleEvents
impl Send for IdleEvents
impl Sync for IdleEvents
impl Unpin for IdleEvents
impl UnsafeUnpin for IdleEvents
impl UnwindSafe for IdleEvents
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.