Struct lsp_types::LinkedEditingRanges
source · pub struct LinkedEditingRanges {
pub ranges: Vec<Range>,
pub word_pattern: Option<String>,
}
Fields§
§ranges: Vec<Range>
A list of ranges that can be renamed together. The ranges must have identical length and contain identical text content. The ranges cannot overlap.
word_pattern: Option<String>
An optional word pattern (regular expression) that describes valid contents for the given ranges. If no pattern is provided, the client configuration’s word pattern will be used.
Trait Implementations§
source§impl Clone for LinkedEditingRanges
impl Clone for LinkedEditingRanges
source§fn clone(&self) -> LinkedEditingRanges
fn clone(&self) -> LinkedEditingRanges
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 LinkedEditingRanges
impl Debug for LinkedEditingRanges
source§impl<'de> Deserialize<'de> for LinkedEditingRanges
impl<'de> Deserialize<'de> for LinkedEditingRanges
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<LinkedEditingRanges> for LinkedEditingRanges
impl PartialEq<LinkedEditingRanges> for LinkedEditingRanges
source§fn eq(&self, other: &LinkedEditingRanges) -> bool
fn eq(&self, other: &LinkedEditingRanges) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.