pub enum CompletionKind {
Show 26 variants
Text,
Method,
Function,
Constructor,
Field,
Variable,
Class,
Interface,
Module,
Property,
Unit,
Value,
Enum,
Keyword,
Snippet,
Color,
File,
Reference,
Folder,
EnumMember,
Constant,
Struct,
Event,
Operator,
TypeParameter,
Other(i32),
}
Expand description
The kind of an LSP completion.
Variants§
Text
Method
Function
Constructor
Field
Variable
Class
Interface
Module
Property
Unit
Value
Enum
Keyword
Snippet
Color
File
Reference
Folder
EnumMember
Constant
Struct
Event
Operator
TypeParameter
Other(i32)
Trait Implementations§
Source§impl Clone for CompletionKind
impl Clone for CompletionKind
Source§fn clone(&self) -> CompletionKind
fn clone(&self) -> CompletionKind
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 CompletionKind
impl Debug for CompletionKind
impl Copy for CompletionKind
Auto Trait Implementations§
impl Freeze for CompletionKind
impl RefUnwindSafe for CompletionKind
impl Send for CompletionKind
impl Sync for CompletionKind
impl Unpin for CompletionKind
impl UnwindSafe for CompletionKind
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