Struct console::TermFeatures [−][src]
pub struct TermFeatures<'a>(_);
Expand description
Gives access to the terminal features.
Implementations
Checks if this is a real user attended terminal (isatty
)
Checks if colors are supported by this terminal.
This does not check if colors are enabled. Currently all terminals are considered to support colors
Checks if this terminal is an msys terminal.
This is sometimes useful to disable features that are known to not work on msys terminals or require special handling.
Checks if this terminal wants emojis.
Returns the family of the terminal.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for TermFeatures<'a>
impl<'a> Send for TermFeatures<'a>
impl<'a> Sync for TermFeatures<'a>
impl<'a> Unpin for TermFeatures<'a>
impl<'a> UnwindSafe for TermFeatures<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more