Struct dioxus_cli::cli::cfg::ConfigOptsBuild
source · pub struct ConfigOptsBuild {
pub target: Option<PathBuf>,
pub release: bool,
pub verbose: bool,
pub example: Option<String>,
pub profile: Option<String>,
pub platform: Option<String>,
pub features: Option<Vec<String>>,
}
Expand description
Config options for the build system.
Fields§
§target: Option<PathBuf>
The index HTML file to drive the bundling process [default: index.html]
release: bool
Build in release mode [default: false]
verbose: bool
§example: Option<String>
Build a example [default: “”]
profile: Option<String>
Build with custom profile
platform: Option<String>
Build platform: support Web & Desktop [default: “default_platform”]
features: Option<Vec<String>>
Space separated list of features to activate
Trait Implementations§
source§impl Args for ConfigOptsBuild
impl Args for ConfigOptsBuild
source§impl Clone for ConfigOptsBuild
impl Clone for ConfigOptsBuild
source§fn clone(&self) -> ConfigOptsBuild
fn clone(&self) -> ConfigOptsBuild
Returns a copy 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 CommandFactory for ConfigOptsBuild
impl CommandFactory for ConfigOptsBuild
source§fn into_app_for_update<'b>() -> Command<'b>
fn into_app_for_update<'b>() -> Command<'b>
Deprecated, replaced with
CommandFactory::command_for_update
source§impl Debug for ConfigOptsBuild
impl Debug for ConfigOptsBuild
source§impl Default for ConfigOptsBuild
impl Default for ConfigOptsBuild
source§fn default() -> ConfigOptsBuild
fn default() -> ConfigOptsBuild
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConfigOptsBuild
impl<'de> Deserialize<'de> for ConfigOptsBuild
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromArgMatches for ConfigOptsBuild
impl FromArgMatches for ConfigOptsBuild
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
.source§impl Parser for ConfigOptsBuild
impl Parser for ConfigOptsBuild
source§fn parse_from<I, T>(itr: I) -> Selfwhere
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn parse_from<I, T>(itr: I) -> Selfwhere I: IntoIterator<Item = T>, T: Into<OsString> + Clone,
Parse from iterator, exit on error
source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where I: IntoIterator<Item = T>, T: Into<OsString> + Clone,
Parse from iterator, return Err on error.
source§fn update_from<I, T>(&mut self, itr: I)where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn update_from<I, T>(&mut self, itr: I)where I: IntoIterator<Item = T>, T: Into<OsString> + Clone,
Update from iterator, exit on error
source§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where I: IntoIterator<Item = T>, T: Into<OsString> + Clone,
Update from iterator, return Err on error.