pub struct SymbolReference {
pub uri: String,
pub range: Range,
pub kind: ReferenceKind,
}Expand description
Reference to a symbol for Navigate/Analyze workflows.
Fields§
§uri: StringFile URI where the reference occurs
range: RangeLine and character range of the reference
kind: ReferenceKindHow the symbol is being referenced (definition, usage, etc.)
Trait Implementations§
Source§impl Clone for SymbolReference
impl Clone for SymbolReference
Source§fn clone(&self) -> SymbolReference
fn clone(&self) -> SymbolReference
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 SymbolReference
impl RefUnwindSafe for SymbolReference
impl Send for SymbolReference
impl Sync for SymbolReference
impl Unpin for SymbolReference
impl UnsafeUnpin for SymbolReference
impl UnwindSafe for SymbolReference
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