Struct hax_cli_options::Options
source · pub struct Options {
pub inline_macro_calls: Vec<Namespace>,
pub cargo_flags: Vec<String>,
pub command: Option<Command>,
pub force_cargo_build: ForceCargoBuild,
pub deps: bool,
}
Fields§
§inline_macro_calls: Vec<Namespace>
Replace the expansion of each macro matching PATTERN by their invocation. PATTERN denotes a rust path (i.e. [A::B::c]) in which glob patterns are allowed. The glob pattern * matches any name, the glob pattern ** matches zero, one or more names. For instance, [A::B::C::D::X] and [A::E::F::D::Y] matches [A::**::D::*].
cargo_flags: Vec<String>
Semi-colon terminated list of arguments to pass to the [cargo build] invocation. For example, to apply this program on a package [foo], use [-C -p foo ;]. (make sure to escape [;] correctly in your shell)
command: Option<Command>
§force_cargo_build: ForceCargoBuild
[cargo] caching is disabled by default, this flag enables it back.
deps: bool
Apply the command to every local package of the dependency closure. By
default, the command is only applied to the primary packages (i.e. the
package(s) of the current directory, or the ones selected with cargo
options like [-C -p
Trait Implementations§
source§impl Args for Options
impl Args for Options
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
source§impl<'de> Deserialize<'de> for Options
impl<'de> Deserialize<'de> for Options
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl FromArgMatches for Options
impl FromArgMatches for Options
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
.source§impl JsonSchema for Options
impl JsonSchema for Options
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read more