pub enum Shell {
Bash,
Zsh,
Fish,
Elvish,
PowerShell,
}Expand description
Supported shells for completion-script generation.
Bash and Zsh (via bash-compatible mode) are fully implemented;
Fish, Elvish, and PowerShell placeholders are accepted but
emit a stub-with-warning so callers can register them in a CLI
--shell flag without separate dispatch.
Variants§
Implementations§
Trait Implementations§
impl Copy for Shell
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