Enum CompletionType

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).

Implementations

impl Clone for CompletionType

fn clone(self: &Self) -> CompletionType

impl Copy for CompletionType

impl Debug for CompletionType

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Eq for CompletionType

impl Freeze for CompletionType

impl PartialEq for CompletionType

fn eq(self: &Self, other: &CompletionType) -> bool

impl RefUnwindSafe for CompletionType

impl Send for CompletionType

impl StructuralPartialEq for CompletionType

impl Sync for CompletionType

impl Unpin for CompletionType

impl UnwindSafe for CompletionType

impl<T> Any for CompletionType

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for CompletionType

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for CompletionType

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for CompletionType

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for CompletionType

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for CompletionType

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for CompletionType

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for CompletionType

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for CompletionType

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>