#[non_exhaustive]
pub enum CommandComplete {
Show 36 variants
Arglist,
Augroup,
Buffer,
Behave,
Color,
Command,
Compiler,
Cscope,
Dir,
Environment,
Event,
Expression,
File,
FileInPath,
Filetype,
Function,
Help,
Highlight,
History,
Locale,
Lua,
Mapclear,
Mapping,
Menu,
Messages,
Option,
Packadd,
Shellcmd,
Sign,
Syntax,
Syntime,
Tag,
TagListfiles,
User,
Var,
CustomList(Function<(String, String, usize), Vec<String, Global>>),
}Expand description
See :h command-complete for details.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Arglist
Augroup
Buffer
Behave
Color
Command
Compiler
Cscope
Dir
Environment
Event
Expression
File
FileInPath
Filetype
Function
Help
Highlight
History
Locale
Lua
Mapclear
Mapping
Menu
Messages
Option
Packadd
Shellcmd
Sign
Syntax
Syntime
Tag
TagListfiles
User
Var
CustomList(Function<(String, String, usize), Vec<String, Global>>)
See :h command-completion-customlist for details.
Trait Implementations
sourceimpl Clone for CommandComplete
impl Clone for CommandComplete
sourcefn clone(&self) -> CommandComplete
fn clone(&self) -> CommandComplete
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for CommandComplete
impl Debug for CommandComplete
sourceimpl Hash for CommandComplete
impl Hash for CommandComplete
sourceimpl PartialEq<CommandComplete> for CommandComplete
impl PartialEq<CommandComplete> for CommandComplete
sourcefn eq(&self, other: &CommandComplete) -> bool
fn eq(&self, other: &CommandComplete) -> bool
sourceimpl Serialize for CommandComplete
impl Serialize for CommandComplete
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for CommandComplete
impl StructuralEq for CommandComplete
impl StructuralPartialEq for CommandComplete
Auto Trait Implementations
impl RefUnwindSafe for CommandComplete
impl Send for CommandComplete
impl Sync for CommandComplete
impl Unpin for CommandComplete
impl UnwindSafe for CommandComplete
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more