Enum CompletionType
#[non_exhaustive]
pub enum CompletionType
Tab completion style
Variants
-
Circular Complete the next full match (like in Vim by default)
-
List Complete till longest match. When more than one match, list all matches (like in Bash/Readline).
Trait Implementations
impl Clone for CompletionType
fn clone(&self) -> CompletionType
impl Copy for CompletionType
impl Debug for CompletionType
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for CompletionType
impl PartialEq for CompletionType
fn eq(&self, other: &CompletionType) -> bool
impl StructuralPartialEq for CompletionType
Auto Trait Implementations
impl Freeze for CompletionType
impl RefUnwindSafe for CompletionType
impl Send for CompletionType
impl Sync for CompletionType
impl Unpin for CompletionType
impl UnsafeUnpin for CompletionType
impl UnwindSafe for CompletionType
Blanket Implementations
impl<T> Any for CompletionType
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for CompletionType
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for CompletionType
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for CompletionType
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for CompletionType
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for CompletionType
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for CompletionType
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for CompletionType
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for CompletionType
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>