pub enum CompletionSelection {
List(MoveDir1D),
None,
Prefix,
Single,
}Expand description
What type of phrase we are completing.
Variants§
List(MoveDir1D)
Navigate through the list of completion candidates.
None
Generate completion candidates, but don’t select any from the list.
Prefix
Complete only the longest common prefix from the completion candidates.
Single
If there is only a single completion candidate, select it.
Trait Implementations§
Source§impl Clone for CompletionSelection
impl Clone for CompletionSelection
Source§fn clone(&self) -> CompletionSelection
fn clone(&self) -> CompletionSelection
Returns a duplicate of the value. Read more
1.0.0 · 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 CompletionSelection
impl Debug for CompletionSelection
Source§impl PartialEq for CompletionSelection
impl PartialEq for CompletionSelection
impl Eq for CompletionSelection
impl StructuralPartialEq for CompletionSelection
Auto Trait Implementations§
impl Freeze for CompletionSelection
impl RefUnwindSafe for CompletionSelection
impl Send for CompletionSelection
impl Sync for CompletionSelection
impl Unpin for CompletionSelection
impl UnwindSafe for CompletionSelection
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