pub enum Shell {
Bash,
Zsh,
Fish,
Elvish,
Powershell,
Other(String),
}Expand description
Supported shells for completion installation and detection.
Bash, Zsh, Fish, PowerShell, and Elvish are currently supported. Shell::Other remains the
explicit escape hatch for unsupported shells.
Variants§
Bash
GNU Bash.
Zsh
Z shell.
Fish
Fish shell.
Elvish
Elvish shell.
Powershell
PowerShell.
Other(String)
An escape hatch for shells not modelled explicitly yet.
This variant exists so callers can keep shell selection in their own domain model even when
shellcomp does not implement that shell yet.
Trait Implementations§
impl Eq for Shell
impl StructuralPartialEq for Shell
Auto Trait Implementations§
impl Freeze for Shell
impl RefUnwindSafe for Shell
impl Send for Shell
impl Sync for Shell
impl Unpin for Shell
impl UnsafeUnpin for Shell
impl UnwindSafe for Shell
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