Struct languageserver_types::LocationLink
source · pub struct LocationLink {
pub origin_selection_range: Option<Range>,
pub target_uri: String,
pub target_range: Range,
pub target_selection_range: Option<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: String
The target resource identifier of this link.
target_range: Range
The full target range of this link.
target_selection_range: Option<Range>
The span of this link.
Trait Implementations§
source§impl Clone for LocationLink
impl Clone for LocationLink
source§fn clone(&self) -> LocationLink
fn clone(&self) -> LocationLink
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LocationLink
impl Debug for LocationLink
source§impl<'de> Deserialize<'de> for LocationLink
impl<'de> Deserialize<'de> for LocationLink
source§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