pub enum TerminalMode {
Redir,
Term,
}Expand description
The type of terminal, if any, for a standard stream handle.
Variants§
Trait Implementations§
Source§impl Clone for TerminalMode
impl Clone for TerminalMode
Source§fn clone(&self) -> TerminalMode
fn clone(&self) -> TerminalMode
Returns a duplicate of the value. Read more
1.0.0 · 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 TerminalMode
impl Debug for TerminalMode
Source§impl PartialEq for TerminalMode
impl PartialEq for TerminalMode
impl Copy for TerminalMode
impl Eq for TerminalMode
impl StructuralPartialEq for TerminalMode
Auto Trait Implementations§
impl Freeze for TerminalMode
impl RefUnwindSafe for TerminalMode
impl Send for TerminalMode
impl Sync for TerminalMode
impl Unpin for TerminalMode
impl UnwindSafe for TerminalMode
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