pub enum TerminalProfile {
Show 13 variants
Modern,
Xterm256Color,
Xterm,
Vt100,
Dumb,
Screen,
Tmux,
Zellij,
WindowsConsole,
Kitty,
LinuxConsole,
Custom,
Detected,
}Expand description
Known terminal profile identifiers.
These names correspond to predefined capability configurations.
Variants§
Modern
Modern terminal with all features (WezTerm, Alacritty, Ghostty, etc.)
Xterm256Color
xterm with 256-color support
Xterm
Basic xterm with 16 colors
Vt100
VT100 terminal (minimal)
Dumb
Dumb terminal (no capabilities)
Screen
GNU Screen multiplexer
Tmux
tmux multiplexer
Zellij
Zellij multiplexer
WindowsConsole
Windows Console Host
Kitty
Kitty terminal
LinuxConsole
Linux console (no colors, basic features)
Custom
Custom profile (user-defined)
Detected
Auto-detected from environment
Implementations§
Source§impl TerminalProfile
impl TerminalProfile
Sourcepub const fn all_predefined() -> &'static [Self]
pub const fn all_predefined() -> &'static [Self]
Get all known profile identifiers (excluding Custom and Detected).
Trait Implementations§
Source§impl Clone for TerminalProfile
impl Clone for TerminalProfile
Source§fn clone(&self) -> TerminalProfile
fn clone(&self) -> TerminalProfile
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 TerminalProfile
impl Debug for TerminalProfile
Source§impl Display for TerminalProfile
impl Display for TerminalProfile
Source§impl FromStr for TerminalProfile
impl FromStr for TerminalProfile
Source§impl Hash for TerminalProfile
impl Hash for TerminalProfile
Source§impl PartialEq for TerminalProfile
impl PartialEq for TerminalProfile
impl Copy for TerminalProfile
impl Eq for TerminalProfile
impl StructuralPartialEq for TerminalProfile
Auto Trait Implementations§
impl Freeze for TerminalProfile
impl RefUnwindSafe for TerminalProfile
impl Send for TerminalProfile
impl Sync for TerminalProfile
impl Unpin for TerminalProfile
impl UnsafeUnpin for TerminalProfile
impl UnwindSafe for TerminalProfile
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