Struct lsp_types::CompletionItemKind
source · pub struct CompletionItemKind(/* private fields */);
Expand description
The kind of a completion entry.
Implementations§
source§impl CompletionItemKind
impl CompletionItemKind
pub const TEXT: CompletionItemKind = _
pub const METHOD: CompletionItemKind = _
pub const FUNCTION: CompletionItemKind = _
pub const CONSTRUCTOR: CompletionItemKind = _
pub const FIELD: CompletionItemKind = _
pub const VARIABLE: CompletionItemKind = _
pub const CLASS: CompletionItemKind = _
pub const INTERFACE: CompletionItemKind = _
pub const MODULE: CompletionItemKind = _
pub const PROPERTY: CompletionItemKind = _
pub const UNIT: CompletionItemKind = _
pub const VALUE: CompletionItemKind = _
pub const ENUM: CompletionItemKind = _
pub const KEYWORD: CompletionItemKind = _
pub const SNIPPET: CompletionItemKind = _
pub const COLOR: CompletionItemKind = _
pub const FILE: CompletionItemKind = _
pub const REFERENCE: CompletionItemKind = _
pub const FOLDER: CompletionItemKind = _
pub const ENUM_MEMBER: CompletionItemKind = _
pub const CONSTANT: CompletionItemKind = _
pub const STRUCT: CompletionItemKind = _
pub const EVENT: CompletionItemKind = _
pub const OPERATOR: CompletionItemKind = _
pub const TYPE_PARAMETER: CompletionItemKind = _
Trait Implementations§
source§impl Clone for CompletionItemKind
impl Clone for CompletionItemKind
source§fn clone(&self) -> CompletionItemKind
fn clone(&self) -> CompletionItemKind
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 CompletionItemKind
impl Debug for CompletionItemKind
source§impl<'de> Deserialize<'de> for CompletionItemKind
impl<'de> Deserialize<'de> for CompletionItemKind
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 CompletionItemKind
impl PartialEq for CompletionItemKind
source§fn eq(&self, other: &CompletionItemKind) -> bool
fn eq(&self, other: &CompletionItemKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CompletionItemKind
impl Serialize for CompletionItemKind
source§impl TryFrom<&str> for CompletionItemKind
impl TryFrom<&str> for CompletionItemKind
impl Copy for CompletionItemKind
impl Eq for CompletionItemKind
impl StructuralPartialEq for CompletionItemKind
Auto Trait Implementations§
impl Freeze for CompletionItemKind
impl RefUnwindSafe for CompletionItemKind
impl Send for CompletionItemKind
impl Sync for CompletionItemKind
impl Unpin for CompletionItemKind
impl UnwindSafe for CompletionItemKind
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