pub struct DisplayArgs {
pub color: ColorArg,
pub verbose: bool,
pub quiet: bool,
pub breakdown: bool,
pub explain: bool,
pub md_full_table: bool,
pub md_top: usize,
}Fields§
§color: ColorArgWhen to use terminal colors
verbose: boolShow parse diagnostics and matching statistics
quiet: boolSuppress report output, only set exit code
breakdown: boolShow complexity contributors for functions exceeding threshold.
JSON output always includes contributors regardless of this flag.
explain: boolExplain nested breakdown increments in table output.
Only affects table output, and only when --breakdown is enabled.
md_full_table: boolRender the full per-function table in markdown output.
By default --format markdown produces a compact summary plus a
top-N table (failures if any exist, otherwise the worst by CRAP).
This flag appends the legacy row-per-function table — useful when
piping into a longer document instead of a PR comment. Has no
effect on other output formats.
md_top: usizeNumber of rows in the markdown top-N table (default 10).
Bounds the failures list (or worst-by-CRAP list when nothing exceeds threshold). The summary block is unaffected — its stats always reflect the full unshapeable analysis.
Trait Implementations§
Source§impl Args for DisplayArgs
impl Args for DisplayArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for DisplayArgs
impl Debug for DisplayArgs
Source§impl FromArgMatches for DisplayArgs
impl FromArgMatches for DisplayArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.