pub enum Section {
Code(Box<CodeOverview>),
Tree {
view: ViewSpec,
limits: TreeDisplayLimits,
root: Option<Box<TreeNode>>,
omissions: Vec<TreeOmission>,
},
Extensions {
rows: Vec<TypeRow>,
total: usize,
share_omitted: usize,
},
Metrics {
view: ViewSpec,
summary: Box<MetricSummary>,
},
Files {
view: ViewSpec,
rows: Vec<FileRow>,
total: usize,
},
Summary(SummaryRow),
}Expand description
One view’s results.
Variants§
Code(Box<CodeOverview>)
A code-first overview with selected totals and bounded language rows.
Tree
A tree view.
Fields
§
limits: TreeDisplayLimitsBounds resolved before projection.
§
omissions: Vec<TreeOmission>The omitted root when the section row limit is zero.
Extensions
A raw-extension view.
Fields
Rows removed by the explicit minimum-share filter before the row bound.
Metrics
A generic type/family content summary.
Fields
§
summary: Box<MetricSummary>Generic grouped metrics.
Files
A flat listing: files, or one of its bounded presets.
Carries the view for the same reason Metrics does — three views share this shape
and a reader has to be told which one produced the rows.
Fields
Summary(SummaryRow)
A summary view.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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