Struct lsp_types::LinkedEditingRanges [−][src]
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
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LinkedEditingRanges
impl Send for LinkedEditingRanges
impl Sync for LinkedEditingRanges
impl Unpin for LinkedEditingRanges
impl UnwindSafe for LinkedEditingRanges
Blanket Implementations
Mutably borrows from an owned value. Read more