pub struct SymbolIdentity {
pub stable_key: String,
pub name: String,
pub qualified_name: Option<String>,
pub kind: SymbolKind,
}Expand description
Stable symbol identity returned by cross-file reference queries.
Fields§
§stable_key: StringCanonical stable key for the symbol (qualified when available).
name: StringBare symbol name.
qualified_name: Option<String>Fully qualified symbol name when available.
kind: SymbolKindSymbol kind (subroutine, package, variable, …).
Trait Implementations§
Source§impl Clone for SymbolIdentity
impl Clone for SymbolIdentity
Source§fn clone(&self) -> SymbolIdentity
fn clone(&self) -> SymbolIdentity
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 moreSource§impl Debug for SymbolIdentity
impl Debug for SymbolIdentity
Source§impl PartialEq for SymbolIdentity
impl PartialEq for SymbolIdentity
impl Eq for SymbolIdentity
impl StructuralPartialEq for SymbolIdentity
Auto Trait Implementations§
impl Freeze for SymbolIdentity
impl RefUnwindSafe for SymbolIdentity
impl Send for SymbolIdentity
impl Sync for SymbolIdentity
impl Unpin for SymbolIdentity
impl UnsafeUnpin for SymbolIdentity
impl UnwindSafe for SymbolIdentity
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