pub struct CaptureOutputArgs {
pub output_root: PathBuf,
pub prune_empty: bool,
pub prune_output_root: Option<PathBuf>,
}Expand description
Capture output/prune options shared across capture-related binaries.
Fields§
§output_root: PathBufDirectory to write captures into.
prune_empty: boolOptionally prune empty-label frames after datagen (writes filtered copy).
prune_output_root: Option<PathBuf>Optional output root for pruned runs (defaults to “<output_root>_filtered”).
Trait Implementations§
Source§impl Args for CaptureOutputArgs
impl Args for CaptureOutputArgs
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
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for CaptureOutputArgs
impl Clone for CaptureOutputArgs
Source§fn clone(&self) -> CaptureOutputArgs
fn clone(&self) -> CaptureOutputArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CaptureOutputArgs
impl Debug for CaptureOutputArgs
Source§impl From<&CaptureOutputArgs> for CaptureOutputOpts
impl From<&CaptureOutputArgs> for CaptureOutputOpts
Source§fn from(args: &CaptureOutputArgs) -> Self
fn from(args: &CaptureOutputArgs) -> Self
Converts to this type from the input type.
Source§impl FromArgMatches for CaptureOutputArgs
impl FromArgMatches for CaptureOutputArgs
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>
Assign values from
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>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for CaptureOutputArgs
impl RefUnwindSafe for CaptureOutputArgs
impl Send for CaptureOutputArgs
impl Sync for CaptureOutputArgs
impl Unpin for CaptureOutputArgs
impl UnwindSafe for CaptureOutputArgs
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
Mutably borrows from an owned value. Read more