[][src]Struct tamasfe_lsp_types::FoldingRangeCapability

pub struct FoldingRangeCapability {
    pub dynamic_registration: Option<bool>,
    pub range_limit: Option<u32>,
    pub line_folding_only: Option<bool>,
}

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<u32>

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]

impl Debug for FoldingRangeCapability[src]

impl Default for FoldingRangeCapability[src]

impl<'de> Deserialize<'de> for FoldingRangeCapability[src]

impl Eq for FoldingRangeCapability[src]

impl PartialEq<FoldingRangeCapability> for FoldingRangeCapability[src]

impl Serialize for FoldingRangeCapability[src]

impl StructuralEq for FoldingRangeCapability[src]

impl StructuralPartialEq for FoldingRangeCapability[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.