pub struct ViewOverview {
pub files: usize,
pub symbols: usize,
pub references: usize,
pub by_kind: BTreeMap<String, usize>,
pub by_language: BTreeMap<String, usize>,
pub largest_files: Vec<FileSummary>,
}Expand description
The aggregate shape of a whole view — what is here, rather than facts about
one symbol. by_kind and by_language are keyed by the lowercase names from
SymbolKind::as_str and Language::as_str;
symbols in files with an unrecognized extension bucket under "unknown", so
by_language always sums to symbols.
Fields§
§files: usizeDistinct paths contributing symbols or references.
symbols: usize§references: usize§by_kind: BTreeMap<String, usize>§by_language: BTreeMap<String, usize>§largest_files: Vec<FileSummary>Files with the most symbols, descending. Bounded by the caller’s limit;
files above is the untruncated count.
Trait Implementations§
Source§impl Clone for ViewOverview
impl Clone for ViewOverview
Source§fn clone(&self) -> ViewOverview
fn clone(&self) -> ViewOverview
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 moreSource§impl Debug for ViewOverview
impl Debug for ViewOverview
Source§impl<'de> Deserialize<'de> for ViewOverview
impl<'de> Deserialize<'de> for ViewOverview
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ViewOverview
impl PartialEq for ViewOverview
Source§impl Serialize for ViewOverview
impl Serialize for ViewOverview
impl Eq for ViewOverview
impl StructuralPartialEq for ViewOverview
Auto Trait Implementations§
impl Freeze for ViewOverview
impl RefUnwindSafe for ViewOverview
impl Send for ViewOverview
impl Sync for ViewOverview
impl Unpin for ViewOverview
impl UnsafeUnpin for ViewOverview
impl UnwindSafe for ViewOverview
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