pub enum TypeDefinitionProviderCapability {
Simple(bool),
Options(StaticTextDocumentRegistrationOptions),
}
Variants§
Simple(bool)
Options(StaticTextDocumentRegistrationOptions)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TypeDefinitionProviderCapability
impl<'de> Deserialize<'de> for TypeDefinitionProviderCapability
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 TypeDefinitionProviderCapability
impl PartialEq for TypeDefinitionProviderCapability
Source§fn eq(&self, other: &TypeDefinitionProviderCapability) -> bool
fn eq(&self, other: &TypeDefinitionProviderCapability) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for TypeDefinitionProviderCapability
impl StructuralPartialEq for TypeDefinitionProviderCapability
Auto Trait Implementations§
impl Freeze for TypeDefinitionProviderCapability
impl RefUnwindSafe for TypeDefinitionProviderCapability
impl Send for TypeDefinitionProviderCapability
impl Sync for TypeDefinitionProviderCapability
impl Unpin for TypeDefinitionProviderCapability
impl UnwindSafe for TypeDefinitionProviderCapability
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