pub struct ClientSymbolKindOptions {
pub value_set: Option<Vec<SymbolKind>>,
}Expand description
@since 3.18.0
Fields§
§value_set: Option<Vec<SymbolKind>>The symbol 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 symbol kinds from File to Array as defined in
the initial version of the protocol.
Implementations§
Source§impl ClientSymbolKindOptions
impl ClientSymbolKindOptions
pub const fn new(value_set: Option<Vec<SymbolKind>>) -> Self
Trait Implementations§
Source§impl Clone for ClientSymbolKindOptions
impl Clone for ClientSymbolKindOptions
Source§fn clone(&self) -> ClientSymbolKindOptions
fn clone(&self) -> ClientSymbolKindOptions
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 Debug for ClientSymbolKindOptions
impl Debug for ClientSymbolKindOptions
Source§impl Default for ClientSymbolKindOptions
impl Default for ClientSymbolKindOptions
Source§fn default() -> ClientSymbolKindOptions
fn default() -> ClientSymbolKindOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientSymbolKindOptions
impl<'de> Deserialize<'de> for ClientSymbolKindOptions
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 Hash for ClientSymbolKindOptions
impl Hash for ClientSymbolKindOptions
Source§impl PartialEq for ClientSymbolKindOptions
impl PartialEq for ClientSymbolKindOptions
Source§fn eq(&self, other: &ClientSymbolKindOptions) -> bool
fn eq(&self, other: &ClientSymbolKindOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ClientSymbolKindOptions
impl Serialize for ClientSymbolKindOptions
impl Eq for ClientSymbolKindOptions
impl StructuralPartialEq for ClientSymbolKindOptions
Auto Trait Implementations§
impl Freeze for ClientSymbolKindOptions
impl RefUnwindSafe for ClientSymbolKindOptions
impl Send for ClientSymbolKindOptions
impl Sync for ClientSymbolKindOptions
impl Unpin for ClientSymbolKindOptions
impl UnsafeUnpin for ClientSymbolKindOptions
impl UnwindSafe for ClientSymbolKindOptions
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