pub struct SymbolKey {
pub pkg: Arc<str>,
pub name: Arc<str>,
pub sigil: Option<char>,
pub kind: SymKind,
}Expand description
A normalized symbol key for cross-file lookups in Index/Navigate workflows.
Fields§
§pkg: Arc<str>Package name containing this symbol
name: Arc<str>Bare name without sigil prefix
sigil: Option<char>Variable sigil ($, @, or %) if applicable
kind: SymKindKind of symbol (variable, subroutine, package)
Trait Implementations§
impl Eq for SymbolKey
impl StructuralPartialEq for SymbolKey
Auto Trait Implementations§
impl Freeze for SymbolKey
impl RefUnwindSafe for SymbolKey
impl Send for SymbolKey
impl Sync for SymbolKey
impl Unpin for SymbolKey
impl UnsafeUnpin for SymbolKey
impl UnwindSafe for SymbolKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.