pub struct Elvish;
Expand description
Generate elvish completion file
Trait Implementations§
Source§impl Generator for Elvish
impl Generator for Elvish
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 Elvish
impl Eq for Elvish
impl StructuralPartialEq for Elvish
Auto Trait Implementations§
impl Freeze for Elvish
impl RefUnwindSafe for Elvish
impl Send for Elvish
impl Sync for Elvish
impl Unpin for Elvish
impl UnwindSafe for Elvish
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