Struct clangd_parser::clangd::ClangdFile
source · pub struct ClangdFile {
pub string: Vec<String>,
pub symbols: ClangdSymbols,
pub relations: ClangdRelations,
pub cmdline: ClangdCmdLine,
pub sources: ClangdSources,
pub meta: ClangdMetaData,
pub references: ClangdReferences,
pub file_type: ClangdFileType,
pub variable_declarations: Vec<SymbolId>,
}
Fields§
§string: Vec<String>
§symbols: ClangdSymbols
§relations: ClangdRelations
§cmdline: ClangdCmdLine
§sources: ClangdSources
§meta: ClangdMetaData
§references: ClangdReferences
§file_type: ClangdFileType
§variable_declarations: Vec<SymbolId>
Implementations§
source§impl ClangdFile
impl ClangdFile
pub async fn parse(p: PathBuf) -> Result<ClangdFile, ParseError>
Trait Implementations§
source§impl ClangdUtility for ClangdFile
impl ClangdUtility for ClangdFile
source§impl Clone for ClangdFile
impl Clone for ClangdFile
source§fn clone(&self) -> ClangdFile
fn clone(&self) -> ClangdFile
Returns a copy 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 ClangdFile
impl Debug for ClangdFile
source§impl Default for ClangdFile
impl Default for ClangdFile
source§fn default() -> ClangdFile
fn default() -> ClangdFile
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClangdFile
impl RefUnwindSafe for ClangdFile
impl Send for ClangdFile
impl Sync for ClangdFile
impl Unpin for ClangdFile
impl UnwindSafe for ClangdFile
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