pub struct LocationLink {
pub origin_selection_range: (usize, usize),
pub target_uri: String,
pub target_range: (usize, usize),
pub target_selection_range: (usize, usize),
}Expand description
Represents a location link from origin to target
Fields§
§origin_selection_range: (usize, usize)The range of the symbol being targeted at the origin
target_uri: StringThe target URI
target_range: (usize, usize)The full range of the target declaration
target_selection_range: (usize, usize)The range to select in the target (e.g., just the name)
Trait Implementations§
Source§impl Clone for LocationLink
impl Clone for LocationLink
Source§fn clone(&self) -> LocationLink
fn clone(&self) -> LocationLink
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for LocationLink
impl RefUnwindSafe for LocationLink
impl Send for LocationLink
impl Sync for LocationLink
impl Unpin for LocationLink
impl UnsafeUnpin for LocationLink
impl UnwindSafe for LocationLink
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more