[−][src]Struct lsp_types::FoldingRangeCapability
Fields
dynamic_registration: Option<bool>
Whether implementation supports dynamic registration for folding range providers. If this is set to true
the client supports the new (FoldingRangeProviderOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions)
return value for the corresponding server capability as well.
range_limit: Option<u64>
The maximum number of folding ranges that the client prefers to receive per document. The value serves as a hint, servers are free to follow the limit.
line_folding_only: Option<bool>
If set, the client signals that it only supports folding complete lines. If set, client will
ignore specified startCharacter
and endCharacter
properties in a FoldingRange.
Trait Implementations
impl Clone for FoldingRangeCapability
[src]
fn clone(&self) -> FoldingRangeCapability
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for FoldingRangeCapability
[src]
fn default() -> FoldingRangeCapability
[src]
impl Eq for FoldingRangeCapability
[src]
impl PartialEq<FoldingRangeCapability> for FoldingRangeCapability
[src]
fn eq(&self, other: &FoldingRangeCapability) -> bool
[src]
fn ne(&self, other: &FoldingRangeCapability) -> bool
[src]
impl Debug for FoldingRangeCapability
[src]
impl StructuralPartialEq for FoldingRangeCapability
[src]
impl StructuralEq for FoldingRangeCapability
[src]
impl Serialize for FoldingRangeCapability
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for FoldingRangeCapability
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for FoldingRangeCapability
impl Sync for FoldingRangeCapability
impl Unpin for FoldingRangeCapability
impl UnwindSafe for FoldingRangeCapability
impl RefUnwindSafe for FoldingRangeCapability
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,