pub struct AndroidBuildCommand {
pub shared: SharedBuildCommand,
pub target: Vec<AndroidTarget>,
pub sign_key_path: Option<PathBuf>,
pub sign_key_pass: Option<String>,
}
Fields§
§target: Vec<AndroidTarget>
Build for the given android architecture.
Supported targets are: armv7-linux-androideabi
, aarch64-linux-android
, i686-linux-android
, x86_64-linux-android
sign_key_path: Option<PathBuf>
Path to the signing key
sign_key_pass: Option<String>
Signing key password
Implementations§
Source§impl AndroidBuildCommand
impl AndroidBuildCommand
pub fn run(&self, config: &Config) -> Result<()>
pub fn execute( &self, config: &Config, context: &BuildContext, ) -> Result<(AndroidManifest, AndroidSdk, PathBuf)>
Trait Implementations§
Source§impl Clap for AndroidBuildCommand
impl Clap for AndroidBuildCommand
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 AndroidBuildCommand
impl Clone for AndroidBuildCommand
Source§fn clone(&self) -> AndroidBuildCommand
fn clone(&self) -> AndroidBuildCommand
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 AndroidBuildCommand
impl Debug for AndroidBuildCommand
Source§impl FromArgMatches for AndroidBuildCommand
impl FromArgMatches for AndroidBuildCommand
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
Auto Trait Implementations§
impl Freeze for AndroidBuildCommand
impl RefUnwindSafe for AndroidBuildCommand
impl Send for AndroidBuildCommand
impl Sync for AndroidBuildCommand
impl Unpin for AndroidBuildCommand
impl UnwindSafe for AndroidBuildCommand
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