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