pub enum CompletionFormat {
Simple,
Display,
Zsh,
Fish,
Bash,
}Expand description
Represents the format in which completions should be returned
Variants§
Simple
Simple list of values (for basic shells)
Display
Values with descriptions for display (not for shell consumption)
Zsh
Zsh format with descriptions
Fish
Fish format with descriptions
Bash
Bash format (requires special handling)
Implementations§
Trait Implementations§
Source§impl Clone for CompletionFormat
impl Clone for CompletionFormat
Source§fn clone(&self) -> CompletionFormat
fn clone(&self) -> CompletionFormat
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 CompletionFormat
impl Debug for CompletionFormat
impl Copy for CompletionFormat
Auto Trait Implementations§
impl Freeze for CompletionFormat
impl RefUnwindSafe for CompletionFormat
impl Send for CompletionFormat
impl Sync for CompletionFormat
impl Unpin for CompletionFormat
impl UnsafeUnpin for CompletionFormat
impl UnwindSafe for CompletionFormat
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