pub enum WantIdle {
Disabled,
EnabledVisible,
EnabledAlways,
}Expand description
Tell the host that the plugin wants to receive the idle message (or not). Idle messages are received by default.
Variants§
Disabled
Disabled.
EnabledVisible
Enabled when UI is visible (default).
EnabledAlways
Always enabled.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WantIdle
impl RefUnwindSafe for WantIdle
impl Send for WantIdle
impl Sync for WantIdle
impl Unpin for WantIdle
impl UnsafeUnpin for WantIdle
impl UnwindSafe for WantIdle
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