pub enum CompletionItemType {
Show 19 variants
Method,
Function,
Constructor,
Field,
Variable,
Class,
Interface,
Module,
Property,
Unit,
Value,
Enum,
Keyword,
Snippet,
Text,
Color,
File,
Reference,
Customcolor,
}
Expand description
Some predefined types for the CompletionItem. Please note that not all clients have specific icons for all of them.
Variants§
Method
Function
Constructor
Field
Variable
Class
Interface
Module
Property
Unit
Value
Enum
Keyword
Snippet
Text
Color
File
Reference
Customcolor
Trait Implementations§
Source§impl Clone for CompletionItemType
impl Clone for CompletionItemType
Source§fn clone(&self) -> CompletionItemType
fn clone(&self) -> CompletionItemType
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 CompletionItemType
impl Debug for CompletionItemType
Source§impl<'de> Deserialize<'de> for CompletionItemType
impl<'de> Deserialize<'de> for CompletionItemType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CompletionItemType
impl PartialEq for CompletionItemType
Source§impl Serialize for CompletionItemType
impl Serialize for CompletionItemType
impl StructuralPartialEq for CompletionItemType
Auto Trait Implementations§
impl Freeze for CompletionItemType
impl RefUnwindSafe for CompletionItemType
impl Send for CompletionItemType
impl Sync for CompletionItemType
impl Unpin for CompletionItemType
impl UnwindSafe for CompletionItemType
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