pub struct SymbolReference {
pub symbol_id: String,
pub file: PathBuf,
pub line: usize,
pub kind: ReferenceKind,
}Expand description
Reference to a symbol
Fields§
§symbol_id: StringID of the referenced symbol
file: PathBufFile containing the reference
line: usizeLine number of the reference
kind: ReferenceKindKind of reference
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 moreSource§impl Debug for SymbolReference
impl Debug for SymbolReference
Source§impl<'de> Deserialize<'de> for SymbolReference
impl<'de> Deserialize<'de> for SymbolReference
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SymbolReference
impl PartialEq for SymbolReference
Source§impl Serialize for SymbolReference
impl Serialize for SymbolReference
impl StructuralPartialEq for SymbolReference
Auto Trait Implementations§
impl Freeze for SymbolReference
impl RefUnwindSafe for SymbolReference
impl Send for SymbolReference
impl Sync for SymbolReference
impl Unpin 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