Struct lsp_types::LocationLink [−][src]
pub struct LocationLink {
pub origin_selection_range: Option<Range>,
pub target_uri: Url,
pub target_range: Range,
pub target_selection_range: Range,
}
Expand description
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
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LocationLink
impl Send for LocationLink
impl Sync for LocationLink
impl Unpin for LocationLink
impl UnwindSafe for LocationLink
Blanket Implementations
Mutably borrows from an owned value. Read more