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: UrlThe target resource identifier of this link.
target_range: RangeThe full target range of this link.
target_selection_range: RangeThe span of this link.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]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 LocationLinkimpl Send for LocationLinkimpl Sync for LocationLinkimpl Unpin for LocationLinkimpl UnwindSafe for LocationLinkBlanket Implementations
Mutably borrows from an owned value. Read more