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