[][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 Eq for LocationLink
[src]

impl PartialEq<LocationLink> for LocationLink
[src]

impl Clone for LocationLink
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for LocationLink
[src]

impl Serialize for LocationLink
[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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