Struct lsp_types::FoldingRangeCapability
source · pub struct FoldingRangeCapability {
pub collapsed_text: Option<bool>,
}
Fields§
§collapsed_text: Option<bool>
If set, the client signals that it supports setting collapsedText on folding ranges to display custom labels instead of the default text.
@since 3.17.0
Trait Implementations§
source§impl Clone for FoldingRangeCapability
impl Clone for FoldingRangeCapability
source§fn clone(&self) -> FoldingRangeCapability
fn clone(&self) -> FoldingRangeCapability
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FoldingRangeCapability
impl Debug for FoldingRangeCapability
source§impl Default for FoldingRangeCapability
impl Default for FoldingRangeCapability
source§fn default() -> FoldingRangeCapability
fn default() -> FoldingRangeCapability
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FoldingRangeCapability
impl<'de> Deserialize<'de> for FoldingRangeCapability
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<FoldingRangeCapability> for FoldingRangeCapability
impl PartialEq<FoldingRangeCapability> for FoldingRangeCapability
source§fn eq(&self, other: &FoldingRangeCapability) -> bool
fn eq(&self, other: &FoldingRangeCapability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.