Struct lsp_types::LinkedEditingRanges[][src]

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

impl Clone for LinkedEditingRanges[src]

impl Debug for LinkedEditingRanges[src]

impl<'de> Deserialize<'de> for LinkedEditingRanges[src]

impl Eq for LinkedEditingRanges[src]

impl PartialEq<LinkedEditingRanges> for LinkedEditingRanges[src]

impl Serialize for LinkedEditingRanges[src]

impl StructuralEq for LinkedEditingRanges[src]

impl StructuralPartialEq for LinkedEditingRanges[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.