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 for FoldingRangeCapability
impl PartialEq 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 ==
.source§impl Serialize for FoldingRangeCapability
impl Serialize for FoldingRangeCapability
impl Eq for FoldingRangeCapability
impl StructuralPartialEq for FoldingRangeCapability
Auto Trait Implementations§
impl Freeze for FoldingRangeCapability
impl RefUnwindSafe for FoldingRangeCapability
impl Send for FoldingRangeCapability
impl Sync for FoldingRangeCapability
impl Unpin for FoldingRangeCapability
impl UnwindSafe for FoldingRangeCapability
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