pub struct ExtractArgs {Show 13 fields
pub path: PathBuf,
pub where_: Vec<String>,
pub kind: Vec<String>,
pub shape: Vec<Shape>,
pub format: OutputFormat,
pub color: ColorChoice,
pub charset: Charset,
pub count: bool,
pub quiet: bool,
pub with_text: bool,
pub scheme: Option<String>,
pub project: Option<String>,
pub cache: Option<PathBuf>,
}Fields§
§path: PathBuf§where_: Vec<String>§kind: Vec<String>§shape: Vec<Shape>§format: OutputFormat§color: ColorChoice§charset: Charset§count: bool§quiet: bool§with_text: bool§scheme: Option<String>§project: Option<String>§cache: Option<PathBuf>Implementations§
Source§impl ExtractArgs
impl ExtractArgs
pub fn mode(&self) -> OutputMode
pub fn compiled_predicates( &self, default_scheme: &str, ) -> Result<Vec<Predicate>>
Trait Implementations§
Source§impl Args for ExtractArgs
impl Args for ExtractArgs
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 Debug for ExtractArgs
impl Debug for ExtractArgs
Source§impl FromArgMatches for ExtractArgs
impl FromArgMatches for ExtractArgs
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 ExtractArgs
impl RefUnwindSafe for ExtractArgs
impl Send for ExtractArgs
impl Sync for ExtractArgs
impl Unpin for ExtractArgs
impl UnsafeUnpin for ExtractArgs
impl UnwindSafe for ExtractArgs
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more