pub(crate) struct Choose {
pub(crate) args: Vec<String>,
pub(crate) top: Vec<String>,
pub(crate) tool: Vec<String>,
pub(crate) shared: bool,
pub(crate) include: Vec<Filter>,
pub(crate) exclude: Vec<Filter>,
}Expand description
Which jobs a command covers: the flow, designs and job IDs, and filters
on the jobs’ attributes (see select).
Fields§
§args: Vec<String>The flow, then designs, job IDs and named filter sets. The flow can
be left out: a job ID names its own, and otherwise every flow is
chosen from. A design is its name, or a glob on design names, such
as 'earlgrey/*'. A job is its ID, such as lint/aes@verilator, or
a glob on job IDs. @NAME adds the project file’s filter set NAME.
With none, every job of the chosen flows.
top: Vec<String>Only the jobs in this top’s context: the top, its own designs, and
the shared designs it uses, there. -i top=TOP. Can be given more
than once.
tool: Vec<String>Only the jobs that use this tool in one of the flow’s roles, such as
verilator. -i tool=TOOL. Can be given more than once.
Only the jobs of shared designs. -i scope=shared.
include: Vec<Filter>Keep only the jobs with an attribute that matches: flow, design,
top, scope, tool, tool.ROLE or tag, such as tag=slow.
Filters of one key are ORed, and of different keys ANDed. Can be
given more than once.
exclude: Vec<Filter>Leave out the jobs with an attribute that matches. Can be given more than once, and wins over every include.
Implementations§
Trait Implementations§
Source§impl Args for Choose
impl Args for Choose
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§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
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl FromArgMatches for Choose
impl FromArgMatches for Choose
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>
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>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for Choose
impl RefUnwindSafe for Choose
impl Send for Choose
impl Sync for Choose
impl Unpin for Choose
impl UnsafeUnpin for Choose
impl UnwindSafe for Choose
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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> ⓘ
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