[][src]Struct lsp_types::LocationLink

pub struct LocationLink {
    pub origin_selection_range: Option<Range>,
    pub target_uri: Url,
    pub target_range: Range,
    pub target_selection_range: Range,
}

Represents a link between a source and a target location.

Fields

origin_selection_range: Option<Range>

Span of the origin of this link.

Used as the underlined span for mouse interaction. Defaults to the word range at the mouse position.

target_uri: Url

The target resource identifier of this link.

target_range: Range

The full target range of this link.

target_selection_range: Range

The span of this link.

Trait Implementations

impl Clone for LocationLink[src]

impl Debug for LocationLink[src]

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

impl Eq for LocationLink[src]

impl PartialEq<LocationLink> for LocationLink[src]

impl Serialize for LocationLink[src]

impl StructuralEq for LocationLink[src]

impl StructuralPartialEq for LocationLink[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.