pub enum TerminalDetection {
Terminal(TerminalInfo),
NonTerminal,
}Expand description
Whether one output handle is attached to a terminal.
Variants§
Terminal(TerminalInfo)
NonTerminal
Trait Implementations§
Source§impl Clone for TerminalDetection
impl Clone for TerminalDetection
Source§fn clone(&self) -> TerminalDetection
fn clone(&self) -> TerminalDetection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TerminalDetection
impl Debug for TerminalDetection
Source§impl Hash for TerminalDetection
impl Hash for TerminalDetection
Source§impl PartialEq for TerminalDetection
impl PartialEq for TerminalDetection
Source§fn eq(&self, other: &TerminalDetection) -> bool
fn eq(&self, other: &TerminalDetection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TerminalDetection
impl Eq for TerminalDetection
impl StructuralPartialEq for TerminalDetection
Auto Trait Implementations§
impl Freeze for TerminalDetection
impl RefUnwindSafe for TerminalDetection
impl Send for TerminalDetection
impl Sync for TerminalDetection
impl Unpin for TerminalDetection
impl UnsafeUnpin for TerminalDetection
impl UnwindSafe for TerminalDetection
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