Struct twiggy_opt::Paths [−][src]
pub struct Paths { /* fields omitted */ }
Find and display the call paths to a function in the given binary's call graph.
Methods
impl Paths
[src]
impl Paths
impl Paths
[src]
impl Paths
pub fn new() -> Paths
[src]
pub fn new() -> Paths
Construct a new, default Paths
.
pub fn add_function(&mut self, function: String)
[src]
pub fn add_function(&mut self, function: String)
Add a function to find call paths for.
pub fn max_depth(&self) -> u32
[src]
pub fn max_depth(&self) -> u32
The maximum depth to print the paths.
pub fn max_paths(&self) -> u32
[src]
pub fn max_paths(&self) -> u32
The maximum number of paths, regardless of depth in the tree, to display.
pub fn descending(&self) -> bool
[src]
pub fn descending(&self) -> bool
The direction in which the call paths are traversed.
pub fn using_regexps(&self) -> bool
[src]
pub fn using_regexps(&self) -> bool
Whether or not functions
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 paths.
pub fn set_max_paths(&mut self, max_paths: u32)
[src]
pub fn set_max_paths(&mut self, max_paths: u32)
Set the maximum number of paths, regardless of depth in the tree, to display.
pub fn set_descending(&mut self, descending: bool)
[src]
pub fn set_descending(&mut self, descending: bool)
Set the call path traversal direction.
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 functions
should be treated as regular expressions.
Trait Implementations
impl Clone for Paths
[src]
impl Clone for Paths
fn clone(&self) -> Paths
[src]
fn clone(&self) -> Paths
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 Paths
[src]
impl Debug for Paths
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 Paths
[src]
impl StructOpt for Paths
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 Default for Paths
[src]
impl Default for Paths
impl CommonCliOptions for Paths
[src]
impl CommonCliOptions for Paths
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.