pub struct Symbol {
pub name: String,
pub kind: SymbolKind,
pub location: SourceLocation,
pub visibility: Visibility,
pub signature: String,
pub documentation: Option<String>,
pub references: Vec<SourceLocation>,
pub definitions: Vec<SourceLocation>,
pub call_sites: Vec<SourceLocation>,
}
Expand description
Symbol in the codebase
Fields§
§name: String
§kind: SymbolKind
§location: SourceLocation
§visibility: Visibility
§signature: String
§documentation: Option<String>
§references: Vec<SourceLocation>
§definitions: Vec<SourceLocation>
§call_sites: Vec<SourceLocation>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnwindSafe for Symbol
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