pub struct SymbolRef {
pub name: QualifiedName,
pub uri: String,
pub start_byte: usize,
pub end_byte: usize,
pub start_line: usize,
pub start_col: usize,
pub end_line: usize,
pub end_col: usize,
}Expand description
A reference to a symbol (usage, not definition).
Fields§
§name: QualifiedNameThe qualified name being referenced.
uri: StringThe URI of the document containing this reference.
start_byte: usizeByte range within the source.
end_byte: usize§start_line: usizeLine/column range (0-based).
start_col: usize§end_line: usize§end_col: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for SymbolRef
impl RefUnwindSafe for SymbolRef
impl Send for SymbolRef
impl Sync for SymbolRef
impl Unpin for SymbolRef
impl UnsafeUnpin for SymbolRef
impl UnwindSafe for SymbolRef
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