pub struct CorpusSummary {
pub total_files: usize,
pub analyzed_files: usize,
pub skipped_files: usize,
pub total_fns: usize,
pub kind_counts: BTreeMap<Kind, usize>,
pub layer_counts: BTreeMap<Layer, usize>,
pub archetype_counts: BTreeMap<Archetype, usize>,
}Expand description
Per-Kind / per-Layer aggregate over a corpus.
Fields§
§total_files: usize§analyzed_files: usize§skipped_files: usize§total_fns: usize§kind_counts: BTreeMap<Kind, usize>§layer_counts: BTreeMap<Layer, usize>§archetype_counts: BTreeMap<Archetype, usize>Trait Implementations§
Source§impl Clone for CorpusSummary
impl Clone for CorpusSummary
Source§fn clone(&self) -> CorpusSummary
fn clone(&self) -> CorpusSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CorpusSummary
impl Debug for CorpusSummary
Source§impl Default for CorpusSummary
impl Default for CorpusSummary
Source§fn default() -> CorpusSummary
fn default() -> CorpusSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CorpusSummary
impl RefUnwindSafe for CorpusSummary
impl Send for CorpusSummary
impl Sync for CorpusSummary
impl Unpin for CorpusSummary
impl UnsafeUnpin for CorpusSummary
impl UnwindSafe for CorpusSummary
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