Struct twiggy_opt::Dominators [−][src]
pub struct Dominators { /* fields omitted */ }
Compute and display the dominator tree for a binary's call graph.
Methods
impl Dominators
[src]
impl Dominators
impl Dominators
[src]
impl Dominators
pub fn new() -> Dominators
[src]
pub fn new() -> Dominators
Construct a new, default Dominators
.
pub fn max_depth(&self) -> u32
[src]
pub fn max_depth(&self) -> u32
The maximum depth to print the dominators tree.
pub fn max_rows(&self) -> u32
[src]
pub fn max_rows(&self) -> u32
The maximum number of rows, regardless of depth in the tree, to display.
pub fn using_regexps(&self) -> bool
[src]
pub fn using_regexps(&self) -> bool
Whether or not items
should be treated as regular expressions.
pub fn set_max_depth(&mut self, max_depth: u32)
[src]
pub fn set_max_depth(&mut self, max_depth: u32)
Set the maximum depth to print the dominators tree.
pub fn set_max_rows(&mut self, max_rows: u32)
[src]
pub fn set_max_rows(&mut self, max_rows: u32)
Set the maximum number of rows, regardless of depth in the tree, to display.
pub fn set_using_regexps(&mut self, using_regexps: bool)
[src]
pub fn set_using_regexps(&mut self, using_regexps: bool)
Set whether or not items
should be treated as regular expressions.
Trait Implementations
impl Clone for Dominators
[src]
impl Clone for Dominators
fn clone(&self) -> Dominators
[src]
fn clone(&self) -> Dominators
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 Dominators
[src]
impl Debug for Dominators
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 Default for Dominators
[src]
impl Default for Dominators
fn default() -> Dominators
[src]
fn default() -> Dominators
Returns the "default value" for a type. Read more
impl StructOpt for Dominators
[src]
impl StructOpt for Dominators
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 Dominators
[src]
impl CommonCliOptions for Dominators
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.
Auto Trait Implementations
impl Send for Dominators
impl Send for Dominators
impl Sync for Dominators
impl Sync for Dominators