pub struct CompileStats {
pub files_parsed: usize,
pub parse_errors: usize,
pub units_created: usize,
pub edges_created: usize,
pub languages: Vec<Language>,
pub duration: Duration,
}Expand description
Statistics from a compilation run.
Fields§
§files_parsed: usizeNumber of source files parsed.
parse_errors: usizeNumber of parse errors encountered.
units_created: usizeNumber of code units in the graph.
edges_created: usizeNumber of edges in the graph.
languages: Vec<Language>Languages found in the codebase.
duration: DurationTotal compilation duration.
Trait Implementations§
Source§impl Clone for CompileStats
impl Clone for CompileStats
Source§fn clone(&self) -> CompileStats
fn clone(&self) -> CompileStats
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 moreAuto Trait Implementations§
impl Freeze for CompileStats
impl RefUnwindSafe for CompileStats
impl Send for CompileStats
impl Sync for CompileStats
impl Unpin for CompileStats
impl UnsafeUnpin for CompileStats
impl UnwindSafe for CompileStats
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