#[non_exhaustive]pub enum CompletionKind {
Show 15 variants
Function,
Method,
Variable,
Field,
Class,
Module,
Interface,
Enum,
Constant,
Property,
Snippet,
Keyword,
File,
Folder,
Other,
}Expand description
What kind of symbol this completion item represents.
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.
Function
Method
Variable
Field
Class
Module
Interface
Enum
Constant
Property
Snippet
Keyword
File
Folder
Other
Implementations§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CompletionKind
Source§impl Debug for CompletionKind
impl Debug for CompletionKind
Source§impl Default for CompletionKind
impl Default for CompletionKind
Source§fn default() -> CompletionKind
fn default() -> CompletionKind
Returns the “default value” for a type. Read more
impl Eq for CompletionKind
Source§impl PartialEq for CompletionKind
impl PartialEq for CompletionKind
impl StructuralPartialEq 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 UnsafeUnpin 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