Struct languageserver_types::FoldingRangeCapability [−][src]
pub struct FoldingRangeCapability { pub dynamic_registration: Option<bool>, pub range_limit: Option<u64>, 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<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 Debug for FoldingRangeCapability
[src]
impl Debug for FoldingRangeCapability
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for FoldingRangeCapability
[src]
impl Eq for FoldingRangeCapability
impl PartialEq for FoldingRangeCapability
[src]
impl PartialEq for FoldingRangeCapability
fn eq(&self, other: &FoldingRangeCapability) -> bool
[src]
fn eq(&self, other: &FoldingRangeCapability) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FoldingRangeCapability) -> bool
[src]
fn ne(&self, other: &FoldingRangeCapability) -> bool
This method tests for !=
.
impl Default for FoldingRangeCapability
[src]
impl Default for FoldingRangeCapability
fn default() -> FoldingRangeCapability
[src]
fn default() -> FoldingRangeCapability
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for FoldingRangeCapability
impl Send for FoldingRangeCapability
impl Sync for FoldingRangeCapability
impl Sync for FoldingRangeCapability