Enum modalkit::prelude::CompletionDisplay
source · pub enum CompletionDisplay {
None,
Bar,
List,
}
Expand description
How to display completion candidates.
Variants§
None
Don’t display candidates.
Bar
Display candidates in a bar above the command bar.
List
Display candidates in a pop-up list.
Trait Implementations§
source§impl Clone for CompletionDisplay
impl Clone for CompletionDisplay
source§fn clone(&self) -> CompletionDisplay
fn clone(&self) -> CompletionDisplay
Returns a copy 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 CompletionDisplay
impl Debug for CompletionDisplay
source§impl PartialEq for CompletionDisplay
impl PartialEq for CompletionDisplay
source§fn eq(&self, other: &CompletionDisplay) -> bool
fn eq(&self, other: &CompletionDisplay) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CompletionDisplay
impl StructuralPartialEq for CompletionDisplay
Auto Trait Implementations§
impl Freeze for CompletionDisplay
impl RefUnwindSafe for CompletionDisplay
impl Send for CompletionDisplay
impl Sync for CompletionDisplay
impl Unpin for CompletionDisplay
impl UnwindSafe for CompletionDisplay
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