Enum broot::command::Completions
source · pub enum Completions {
None,
Common(String),
List(Vec<String>),
}
Expand description
how an input can be completed
Variants§
None
no completion found
Common(String)
all possible completions have this common root
List(Vec<String>)
a list of possible completions
Implementations§
source§impl Completions
impl Completions
pub fn for_input( parts: &CommandParts, con: &AppContext, sel_info: SelInfo<'_> ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Completions
impl Send for Completions
impl Sync for Completions
impl Unpin for Completions
impl UnwindSafe for Completions
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