Enum twiggy_opt::Options [−][src]
pub enum Options { Top(Top), Dominators(Dominators), Paths(Paths), Monos(Monos), Diff(Diff), Garbage(Garbage), }
Options for configuring twiggy
.
Variants
Top(Top)
List the top code size offenders in a binary.
Dominators(Dominators)
Compute and display the dominator tree for a binary's call graph.
Paths(Paths)
Find and display the call paths to a function in the given binary's call graph.
Monos(Monos)
List the generic function monomorphizations that are contributing to code bloat.
Diff(Diff)
Diff the old and new versions of a binary to see what sizes changed.
Garbage(Garbage)
Find and display code and data that is not transitively referenced by any exports or public functions.
Trait Implementations
impl Clone for Options
[src]
impl Clone for Options
fn clone(&self) -> Options
[src]
fn clone(&self) -> Options
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Options
[src]
impl Debug for Options
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl StructOpt for Options
[src]
impl StructOpt for Options
fn clap<'a, 'b>() -> App<'a, 'b>
[src]
fn clap<'a, 'b>() -> App<'a, 'b>
Returns the corresponding clap::App
.
fn from_clap(matches: &ArgMatches) -> Self
[src]
fn from_clap(matches: &ArgMatches) -> Self
Creates the struct from clap::ArgMatches
. It cannot fail with a parameter generated by clap
by construction. Read more
fn from_args() -> Self
[src]
fn from_args() -> Self
Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
fn from_iter<I>(iter: I) -> Self where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
Gets the struct from any iterator such as a Vec
of your making. Print the error message and quit the program in case of failure. Read more
fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
[src]
fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
I: IntoIterator,
<I as IntoIterator>::Item: Into<OsString>,
<I as IntoIterator>::Item: Clone,
Gets the struct from any iterator such as a Vec
of your making. Read more
impl CommonCliOptions for Options
[src]
impl CommonCliOptions for Options
fn input(&self) -> &Path
[src]
fn input(&self) -> &Path
Get the input file path.
fn output_destination(&self) -> &OutputDestination
[src]
fn output_destination(&self) -> &OutputDestination
Get the output destination.
fn output_format(&self) -> OutputFormat
[src]
fn output_format(&self) -> OutputFormat
Get the output format.