pub enum BuildCommand {
Android(AndroidBuildCommand),
Apple(AppleBuildCommand),
}
Variants§
Android(AndroidBuildCommand)
Starts the process of building/packaging/signing of the rust crate for Android
Apple(AppleBuildCommand)
Starts the process of building/packaging/signing of the rust crate for iOS
Implementations§
Source§impl BuildCommand
impl BuildCommand
pub fn handle_command(&self, config: &Config) -> Result<()>
Trait Implementations§
Source§impl Clap for BuildCommand
impl Clap for BuildCommand
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§impl Clone for BuildCommand
impl Clone for BuildCommand
Source§fn clone(&self) -> BuildCommand
fn clone(&self) -> BuildCommand
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 BuildCommand
impl Debug for BuildCommand
Source§impl FromArgMatches for BuildCommand
impl FromArgMatches for BuildCommand
Source§fn from_arg_matches(matches: &ArgMatches) -> Self
fn from_arg_matches(matches: &ArgMatches) -> Self
It’s common to have an “application context” struct (sometimes called
config) that represents all the normalized values after being processed by
the CLI. Read more
Source§impl IntoApp for BuildCommand
impl IntoApp for BuildCommand
Source§impl Subcommand for BuildCommand
impl Subcommand for BuildCommand
Source§fn augment_subcommands<'b>(app: App<'b>) -> App<'b>
fn augment_subcommands<'b>(app: App<'b>) -> App<'b>
@TODO @release @docs
Source§fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>
fn from_subcommand(subcommand: Option<(&str, &ArgMatches)>) -> Option<Self>
@TODO @release @docs
Auto Trait Implementations§
impl Freeze for BuildCommand
impl RefUnwindSafe for BuildCommand
impl Send for BuildCommand
impl Sync for BuildCommand
impl Unpin for BuildCommand
impl UnwindSafe for BuildCommand
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