pub struct ClientCompletionItemOptionsKind {
pub value_set: Option<Vec<CompletionItemKind>>,
}Expand description
@since 3.18.0
Fields§
§value_set: Option<Vec<CompletionItemKind>>The completion item kind values the client supports. When this property exists the client also guarantees that it will handle values outside its set gracefully and falls back to a default value when unknown.
If this property is not present the client only supports
the completion items kinds from Text to Reference as defined in
the initial version of the protocol.
Implementations§
Source§impl ClientCompletionItemOptionsKind
impl ClientCompletionItemOptionsKind
pub const fn new(value_set: Option<Vec<CompletionItemKind>>) -> Self
Trait Implementations§
Source§impl Clone for ClientCompletionItemOptionsKind
impl Clone for ClientCompletionItemOptionsKind
Source§fn clone(&self) -> ClientCompletionItemOptionsKind
fn clone(&self) -> ClientCompletionItemOptionsKind
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 moreSource§impl Default for ClientCompletionItemOptionsKind
impl Default for ClientCompletionItemOptionsKind
Source§fn default() -> ClientCompletionItemOptionsKind
fn default() -> ClientCompletionItemOptionsKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientCompletionItemOptionsKind
impl<'de> Deserialize<'de> for ClientCompletionItemOptionsKind
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 ClientCompletionItemOptionsKind
impl PartialEq for ClientCompletionItemOptionsKind
Source§fn eq(&self, other: &ClientCompletionItemOptionsKind) -> bool
fn eq(&self, other: &ClientCompletionItemOptionsKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ClientCompletionItemOptionsKind
impl StructuralPartialEq for ClientCompletionItemOptionsKind
Auto Trait Implementations§
impl Freeze for ClientCompletionItemOptionsKind
impl RefUnwindSafe for ClientCompletionItemOptionsKind
impl Send for ClientCompletionItemOptionsKind
impl Sync for ClientCompletionItemOptionsKind
impl Unpin for ClientCompletionItemOptionsKind
impl UnsafeUnpin for ClientCompletionItemOptionsKind
impl UnwindSafe for ClientCompletionItemOptionsKind
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