Struct lsp_types::LinkedEditingRanges
source · [−]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
sourceimpl Clone for LinkedEditingRanges
impl Clone for LinkedEditingRanges
sourcefn clone(&self) -> LinkedEditingRanges
fn clone(&self) -> LinkedEditingRanges
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LinkedEditingRanges
impl Debug for LinkedEditingRanges
sourceimpl<'de> Deserialize<'de> for LinkedEditingRanges
impl<'de> Deserialize<'de> for LinkedEditingRanges
sourcefn 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
sourceimpl PartialEq<LinkedEditingRanges> for LinkedEditingRanges
impl PartialEq<LinkedEditingRanges> for LinkedEditingRanges
sourcefn eq(&self, other: &LinkedEditingRanges) -> bool
fn eq(&self, other: &LinkedEditingRanges) -> bool
sourceimpl Serialize for LinkedEditingRanges
impl Serialize for LinkedEditingRanges
impl Eq for LinkedEditingRanges
impl StructuralEq for LinkedEditingRanges
impl StructuralPartialEq for LinkedEditingRanges
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more