pub enum Interactivity {
Interactive,
NonInteractive,
}Expand description
Whether a user is present who can answer the application
The code that builds the Context sets this value. The default is NonInteractive, so
a context reports a user only when that code found one.
§Examples
use clawless_core::context::Interactivity;
let interactivity = Interactivity::default();
assert_eq!(interactivity, Interactivity::NonInteractive);Variants§
Trait Implementations§
Source§impl Clone for Interactivity
impl Clone for Interactivity
impl Copy for Interactivity
Source§impl Debug for Interactivity
impl Debug for Interactivity
Source§impl Default for Interactivity
impl Default for Interactivity
impl Eq for Interactivity
Source§impl Hash for Interactivity
impl Hash for Interactivity
Source§impl Ord for Interactivity
impl Ord for Interactivity
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for Interactivity
impl PartialEq for Interactivity
Source§impl PartialOrd for Interactivity
impl PartialOrd for Interactivity
impl StructuralPartialEq for Interactivity
Auto Trait Implementations§
impl Freeze for Interactivity
impl RefUnwindSafe for Interactivity
impl Send for Interactivity
impl Sync for Interactivity
impl Unpin for Interactivity
impl UnsafeUnpin for Interactivity
impl UnwindSafe for Interactivity
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