pub struct CompletionArgs {
pub args: Vec<String>,
pub incomplete: String,
}Expand description
Arguments parsed from the shell completion environment.
Fields§
§args: Vec<String>The arguments up to the cursor position.
incomplete: StringThe incomplete word being typed.
Trait Implementations§
Source§impl Clone for CompletionArgs
impl Clone for CompletionArgs
Source§fn clone(&self) -> CompletionArgs
fn clone(&self) -> CompletionArgs
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 CompletionArgs
impl Debug for CompletionArgs
Auto Trait Implementations§
impl Freeze for CompletionArgs
impl RefUnwindSafe for CompletionArgs
impl Send for CompletionArgs
impl Sync for CompletionArgs
impl Unpin for CompletionArgs
impl UnsafeUnpin for CompletionArgs
impl UnwindSafe for CompletionArgs
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