Enum console::TermFamily
source · [−]pub enum TermFamily {
File,
UnixTerm,
WindowsConsole,
Dummy,
}
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.
Dummy
A dummy terminal (for instance on wasm)
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 more
sourceimpl Debug for TermFamily
impl Debug for TermFamily
sourceimpl PartialEq<TermFamily> for TermFamily
impl PartialEq<TermFamily> for TermFamily
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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