pub struct SummaryOptions {
pub scope: Option<String>,
pub max_depth: Option<usize>,
pub include_stats: bool,
pub include_locations: bool,
pub compact: bool,
}Expand description
Options for customizing summary output
Fields§
§scope: Option<String>Filter to specific scope (function name, module, etc.)
max_depth: Option<usize>Maximum depth for hierarchical structures
include_stats: boolInclude detailed statistics
include_locations: boolInclude file paths and line numbers
compact: boolCompact mode (less whitespace, shorter labels)
Implementations§
Source§impl SummaryOptions
impl SummaryOptions
Sourcepub fn with_scope(self, scope: impl Into<String>) -> Self
pub fn with_scope(self, scope: impl Into<String>) -> Self
Filter to a specific scope
Sourcepub fn with_max_depth(self, depth: usize) -> Self
pub fn with_max_depth(self, depth: usize) -> Self
Set maximum depth
Trait Implementations§
Source§impl Clone for SummaryOptions
impl Clone for SummaryOptions
Source§fn clone(&self) -> SummaryOptions
fn clone(&self) -> SummaryOptions
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 SummaryOptions
impl Debug for SummaryOptions
Source§impl Default for SummaryOptions
impl Default for SummaryOptions
Source§fn default() -> SummaryOptions
fn default() -> SummaryOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SummaryOptions
impl RefUnwindSafe for SummaryOptions
impl Send for SummaryOptions
impl Sync for SummaryOptions
impl Unpin for SummaryOptions
impl UnsafeUnpin for SummaryOptions
impl UnwindSafe for SummaryOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more