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 for LinkedEditingRanges
impl PartialEq for LinkedEditingRanges
source§impl Serialize for LinkedEditingRanges
impl Serialize for LinkedEditingRanges
impl Eq for LinkedEditingRanges
impl StructuralPartialEq for LinkedEditingRanges
Auto Trait Implementations§
impl Freeze for LinkedEditingRanges
impl RefUnwindSafe for LinkedEditingRanges
impl Send for LinkedEditingRanges
impl Sync for LinkedEditingRanges
impl Unpin for LinkedEditingRanges
impl UnwindSafe for LinkedEditingRanges
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.