pub struct ClientFoldingRangeOptions {
pub collapsed_text: Option<bool>,
}Expand description
@since 3.18.0
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 ClientFoldingRangeOptions
impl Clone for ClientFoldingRangeOptions
Source§fn clone(&self) -> ClientFoldingRangeOptions
fn clone(&self) -> ClientFoldingRangeOptions
Returns a duplicate 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 ClientFoldingRangeOptions
impl Debug for ClientFoldingRangeOptions
Source§impl Default for ClientFoldingRangeOptions
impl Default for ClientFoldingRangeOptions
Source§fn default() -> ClientFoldingRangeOptions
fn default() -> ClientFoldingRangeOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientFoldingRangeOptions
impl<'de> Deserialize<'de> for ClientFoldingRangeOptions
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
impl Eq for ClientFoldingRangeOptions
impl StructuralPartialEq for ClientFoldingRangeOptions
Auto Trait Implementations§
impl Freeze for ClientFoldingRangeOptions
impl RefUnwindSafe for ClientFoldingRangeOptions
impl Send for ClientFoldingRangeOptions
impl Sync for ClientFoldingRangeOptions
impl Unpin for ClientFoldingRangeOptions
impl UnwindSafe for ClientFoldingRangeOptions
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