pub struct ZshComplete;Expand description
Zsh shell completion implementation.
Uses the _arguments style completion with COMP_WORDS and COMP_CWORD.
Trait Implementations§
Source§impl Clone for ZshComplete
impl Clone for ZshComplete
Source§fn clone(&self) -> ZshComplete
fn clone(&self) -> ZshComplete
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ZshComplete
impl Debug for ZshComplete
Source§impl Default for ZshComplete
impl Default for ZshComplete
Source§fn default() -> ZshComplete
fn default() -> ZshComplete
Returns the “default value” for a type. Read more
Source§impl ShellComplete for ZshComplete
impl ShellComplete for ZshComplete
Source§fn source_template(&self) -> &str
fn source_template(&self) -> &str
Returns the shell script template for enabling completions. Read more
Source§fn get_completion_args(&self) -> CompletionArgs
fn get_completion_args(&self) -> CompletionArgs
Get completion arguments from the shell environment. Read more
Source§fn format_completion(&self, item: &CompletionItem) -> String
fn format_completion(&self, item: &CompletionItem) -> String
Format a completion item for output to the shell. Read more
Auto Trait Implementations§
impl Freeze for ZshComplete
impl RefUnwindSafe for ZshComplete
impl Send for ZshComplete
impl Sync for ZshComplete
impl Unpin for ZshComplete
impl UnsafeUnpin for ZshComplete
impl UnwindSafe for ZshComplete
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