Struct clangd_parser::symbols::Symbol
source · pub struct Symbol {Show 16 fields
pub id: SymbolId,
pub syminfo: SymbolInfo,
pub name: String,
pub scope: String,
pub definition: SymbolLocation,
pub canonical_declaration: SymbolLocation,
pub references: u32,
pub flags: SymbolFlags,
pub origin: SymbolOrigin,
pub signature: String,
pub template_specialization_args: String,
pub completion_snippet_suffix: String,
pub documentation: String,
pub return_t: String,
pub t: String,
pub headers: Vec<SymbolIncludedHeader>,
}
Fields§
§id: SymbolId
§syminfo: SymbolInfo
§name: String
§scope: String
§definition: SymbolLocation
§canonical_declaration: SymbolLocation
§references: u32
§flags: SymbolFlags
§origin: SymbolOrigin
§signature: String
§template_specialization_args: String
§completion_snippet_suffix: String
§documentation: String
§return_t: String
§t: String
§headers: Vec<SymbolIncludedHeader>
Implementations§
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