Struct bdrck::cli::TerminalAttributes
source · [−]pub struct TerminalAttributes { /* private fields */ }
Expand description
This is an opaque structure which encapsulates the state / attributes of an interactive terminal. The contents of this structure are OS-specific.
Implementations
Create a new TerminalAttributes, with an “empty” state (no flags enabled).
Test whether or not the given TerminalFlag
is currently enabled.
Trait Implementations
Enable a flag in this set of attributes.
Disable a flag in this set of attributes.
Auto Trait Implementations
impl RefUnwindSafe for TerminalAttributes
impl Send for TerminalAttributes
impl Sync for TerminalAttributes
impl Unpin for TerminalAttributes
impl UnwindSafe for TerminalAttributes
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more