pub struct SummaryConfig {
pub include_imports: bool,
pub include_functions: bool,
pub include_types: bool,
pub include_type_aliases: bool,
pub include_calls: bool,
pub include_dep_graph: bool,
pub max_calls_per_function: usize,
pub min_file_size: usize,
}Expand description
Configuration for structural summary generation.
Fields§
§include_imports: boolInclude import statements in the summary.
include_functions: boolInclude function/method signatures.
include_types: boolInclude class/struct/interface definitions.
include_type_aliases: boolInclude type aliases.
include_calls: boolExtract and include call relationships.
include_dep_graph: boolInclude dependency graph info (imports/imported-by).
max_calls_per_function: usizeMaximum number of call targets to show per function.
min_file_size: usizeMinimum file size (chars) to trigger summarization. Files smaller than this are returned as-is.
Trait Implementations§
Source§impl Clone for SummaryConfig
impl Clone for SummaryConfig
Source§fn clone(&self) -> SummaryConfig
fn clone(&self) -> SummaryConfig
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 SummaryConfig
impl Debug for SummaryConfig
Auto Trait Implementations§
impl Freeze for SummaryConfig
impl RefUnwindSafe for SummaryConfig
impl Send for SummaryConfig
impl Sync for SummaryConfig
impl Unpin for SummaryConfig
impl UnsafeUnpin for SummaryConfig
impl UnwindSafe for SummaryConfig
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