pub struct Zsh;
Expand description
Generate zsh completion file
Trait Implementations§
Source§impl Generator for Zsh
impl Generator for Zsh
Source§fn file_name(&self, name: &str) -> String
fn file_name(&self, name: &str) -> String
Returns the file name that is created when this generator is called during compile time. Read more
Source§fn generate(&self, cmd: &Command, buf: &mut dyn Write)
fn generate(&self, cmd: &Command, buf: &mut dyn Write)
Generates output out of
clap::Command
. Read moreSource§fn try_generate(&self, cmd: &Command, buf: &mut dyn Write) -> Result<(), Error>
fn try_generate(&self, cmd: &Command, buf: &mut dyn Write) -> Result<(), Error>
Fallible version to generate output out of
clap::Command
. Read moreimpl Copy for Zsh
impl Eq for Zsh
impl StructuralPartialEq for Zsh
Auto Trait Implementations§
impl Freeze for Zsh
impl RefUnwindSafe for Zsh
impl Send for Zsh
impl Sync for Zsh
impl Unpin for Zsh
impl UnwindSafe for Zsh
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