pub struct FoldingRangeClientCapabilities {
pub dynamic_registration: Option<bool>,
pub line_folding_only: Option<bool>,
pub range_limit: Option<Uinteger>,
}Fields§
§dynamic_registration: Option<bool>Whether implementation supports dynamic registration for folding range providers. If this
is set to true the client supports the new FoldingRangeRegistrationOptions return value
for the corresponding server capability as well.
line_folding_only: Option<bool>If set, the client signals that it only supports folding complete lines. If set, client
will ignore specified startCharacter and endCharacter properties in a FoldingRange.
range_limit: Option<Uinteger>The maximum number of folding ranges that the client prefers to receive per document. The value serves as a hint, servers are free to follow the limit.
Trait Implementations§
Source§impl Clone for FoldingRangeClientCapabilities
impl Clone for FoldingRangeClientCapabilities
Source§fn clone(&self) -> FoldingRangeClientCapabilities
fn clone(&self) -> FoldingRangeClientCapabilities
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 Default for FoldingRangeClientCapabilities
impl Default for FoldingRangeClientCapabilities
Source§fn default() -> FoldingRangeClientCapabilities
fn default() -> FoldingRangeClientCapabilities
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FoldingRangeClientCapabilities
impl<'de> Deserialize<'de> for FoldingRangeClientCapabilities
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 FoldingRangeClientCapabilities
impl PartialEq for FoldingRangeClientCapabilities
Source§fn eq(&self, other: &FoldingRangeClientCapabilities) -> bool
fn eq(&self, other: &FoldingRangeClientCapabilities) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FoldingRangeClientCapabilities
Auto Trait Implementations§
impl Freeze for FoldingRangeClientCapabilities
impl RefUnwindSafe for FoldingRangeClientCapabilities
impl Send for FoldingRangeClientCapabilities
impl Sync for FoldingRangeClientCapabilities
impl Unpin for FoldingRangeClientCapabilities
impl UnwindSafe for FoldingRangeClientCapabilities
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