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§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.