IsInteractiveEnvironment

Trait IsInteractiveEnvironment 

Source
pub trait IsInteractiveEnvironment {
    // Required method
    fn is_interactive(&self) -> bool;
}
Expand description

An interface for checking if the current environment is an interactive one.

Required Methods§

Source

fn is_interactive(&self) -> bool

Indicates if running in interactive mode.

Implementations on Foreign Types§

Source§

impl<'a, T: ?Sized + IsInteractiveEnvironment> IsInteractiveEnvironment for &'a T

Implementors§

Source§

impl<A, FM, L, V, EX, WD, B, N, ERR> IsInteractiveEnvironment for Env<A, FM, L, V, EX, WD, B, N, ERR>
where N: Hash + Eq,