Struct twiggy_opt::Garbage [−][src]
pub struct Garbage { /* fields omitted */ }
Find and display code and data that is not transitively referenced by any exports or public functions.
Methods
impl Garbage
[src]
impl Garbage
pub fn new() -> Garbage
[src]
pub fn new() -> Garbage
Construct a new, default Garbage
pub fn max_items(&self) -> u32
[src]
pub fn max_items(&self) -> u32
The maximum number of items to display.
pub fn set_max_items(&mut self, max: u32)
[src]
pub fn set_max_items(&mut self, max: u32)
Set the maximum number of items to display.
Trait Implementations
impl Clone for Garbage
[src]
impl Clone for Garbage
fn clone(&self) -> Garbage
[src]
fn clone(&self) -> Garbage
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 Garbage
[src]
impl Debug for Garbage
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 Garbage
[src]
impl StructOpt for Garbage
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 Garbage
[src]
impl Default for Garbage
impl CommonCliOptions for Garbage
[src]
impl CommonCliOptions for Garbage
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.