Enum console::TermFamily
source · pub enum TermFamily {
File,
UnixTerm,
WindowsConsole,
}
Expand description
The family of the terminal.
Variants
File
Redirected to a file or file like thing.
UnixTerm
A standard unix terminal.
WindowsConsole
A cmd.exe like windows console.
Trait Implementations
sourceimpl Clone for TermFamily
impl Clone for TermFamily
sourcefn clone(&self) -> TermFamily
fn clone(&self) -> TermFamily
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TermFamily
impl Debug for TermFamily
sourceimpl PartialEq<TermFamily> for TermFamily
impl PartialEq<TermFamily> for TermFamily
sourcefn eq(&self, other: &TermFamily) -> bool
fn eq(&self, other: &TermFamily) -> bool
impl Copy for TermFamily
impl Eq for TermFamily
impl StructuralEq for TermFamily
impl StructuralPartialEq for TermFamily
Auto Trait Implementations
impl RefUnwindSafe for TermFamily
impl Send for TermFamily
impl Sync for TermFamily
impl Unpin for TermFamily
impl UnwindSafe for TermFamily
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more