pub struct ClientFoldingRangeKindOptions {
pub value_set: Option<Vec<FoldingRangeKind>>,
}Expand description
@since 3.18.0
Fields§
§value_set: Option<Vec<FoldingRangeKind>>The folding range kind values the client supports. When this property exists the client also guarantees that it will handle values outside its set gracefully and falls back to a default value when unknown.
Implementations§
Source§impl ClientFoldingRangeKindOptions
impl ClientFoldingRangeKindOptions
pub const fn new(value_set: Option<Vec<FoldingRangeKind>>) -> Self
Trait Implementations§
Source§impl Clone for ClientFoldingRangeKindOptions
impl Clone for ClientFoldingRangeKindOptions
Source§fn clone(&self) -> ClientFoldingRangeKindOptions
fn clone(&self) -> ClientFoldingRangeKindOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ClientFoldingRangeKindOptions
impl Default for ClientFoldingRangeKindOptions
Source§fn default() -> ClientFoldingRangeKindOptions
fn default() -> ClientFoldingRangeKindOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientFoldingRangeKindOptions
impl<'de> Deserialize<'de> for ClientFoldingRangeKindOptions
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 Hash for ClientFoldingRangeKindOptions
impl Hash for ClientFoldingRangeKindOptions
Source§impl PartialEq for ClientFoldingRangeKindOptions
impl PartialEq for ClientFoldingRangeKindOptions
Source§fn eq(&self, other: &ClientFoldingRangeKindOptions) -> bool
fn eq(&self, other: &ClientFoldingRangeKindOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ClientFoldingRangeKindOptions
impl StructuralPartialEq for ClientFoldingRangeKindOptions
Auto Trait Implementations§
impl Freeze for ClientFoldingRangeKindOptions
impl RefUnwindSafe for ClientFoldingRangeKindOptions
impl Send for ClientFoldingRangeKindOptions
impl Sync for ClientFoldingRangeKindOptions
impl Unpin for ClientFoldingRangeKindOptions
impl UnsafeUnpin for ClientFoldingRangeKindOptions
impl UnwindSafe for ClientFoldingRangeKindOptions
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