pub struct ClapArgs {Show 13 fields
verbose: bool,
debug: bool,
trace: bool,
debug_target: Option<String>,
result_path: PathBuf,
relaxed: bool,
target: Option<String>,
abort_after_analysis: bool,
attach_to_debugger: Option<Debugger>,
anactrl: ClapAnalysisCtrl,
marker_control: MarkerControl,
dump: ParseableDumpArgs,
cargo_args: Vec<String>,
}
Expand description
Arguments as exposed on the command line.
You should then use try_into
to convert this to [Args
], the argument
structure used internally.
Fields§
§verbose: bool
Print additional logging output (up to the “info” level)
debug: bool
Print additional logging output (up to the “debug” level).
Passing this flag (or env variable) with no value will enable debug output globally. You may instead pass the name of a specific target function and then only during analysis of that function the debug output is enabled.
trace: bool
§debug_target: Option<String>
§result_path: PathBuf
Where to write the resulting GraphLocation (defaults to flow-graph.json
)
relaxed: bool
Emit warnings instead of aborting the analysis on sanity checks
target: Option<String>
Run paralegal only on this crate
abort_after_analysis: bool
Abort the compilation after finishing the analysis
attach_to_debugger: Option<Debugger>
Attach to a debugger before running the analyses
anactrl: ClapAnalysisCtrl
Additional arguments that control the flow analysis specifically
marker_control: MarkerControl
Additional arguments which control marker assignment and discovery
dump: ParseableDumpArgs
Additional arguments that control debug args specifically
cargo_args: Vec<String>
Pass through for additional cargo arguments (like –features)
Trait Implementations§
Source§impl Args for ClapArgs
impl Args for ClapArgs
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 FromArgMatches for ClapArgs
impl FromArgMatches for ClapArgs
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
.Auto Trait Implementations§
impl Freeze for ClapArgs
impl RefUnwindSafe for ClapArgs
impl Send for ClapArgs
impl Sync for ClapArgs
impl Unpin for ClapArgs
impl UnwindSafe for ClapArgs
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
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>
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>
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