pub struct CompMatch {Show 13 fields
pub word: String,
pub display: Option<String>,
pub prefix: Option<String>,
pub suffix: Option<String>,
pub hidden_prefix: Option<String>,
pub hidden_suffix: Option<String>,
pub ignored_prefix: Option<String>,
pub ignored_suffix: Option<String>,
pub group: Option<String>,
pub description: Option<String>,
pub remove_suffix: Option<String>,
pub file_match: bool,
pub quote_match: bool,
}Expand description
A single completion match for zsh-style completion
Fields§
§word: String§display: Option<String>§prefix: Option<String>§suffix: Option<String>§ignored_prefix: Option<String>§ignored_suffix: Option<String>§group: Option<String>§description: Option<String>§remove_suffix: Option<String>§file_match: bool§quote_match: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for CompMatch
impl RefUnwindSafe for CompMatch
impl Send for CompMatch
impl Sync for CompMatch
impl Unpin for CompMatch
impl UnsafeUnpin for CompMatch
impl UnwindSafe for CompMatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more