Struct crossbundle_lib::types::android_config::AndroidConfig
source · [−]pub struct AndroidConfig {
pub app_wrapper: AppWrapper,
pub manifest: Option<AndroidManifest>,
pub manifest_path: Option<PathBuf>,
pub resources: Vec<PathBuf>,
pub assets: Vec<PathBuf>,
pub debug_build_targets: Vec<AndroidTarget>,
pub release_build_targets: Vec<AndroidTarget>,
pub plugins: AndroidGradlePlugins,
}
Expand description
Full Android configuration.
Fields
app_wrapper: AppWrapper
Specifies what application wrapper to use on build.
manifest: Option<AndroidManifest>
AndroidManifest.xml configuration.
manifest_path: Option<PathBuf>
Path to AndroidManifest.xml file.
Important: If this field specified - manifest
property will be ignored.
resources: Vec<PathBuf>
Android resources directory path relatively to project path.
If specified more than one - all resources will be placed into one directory.
assets: Vec<PathBuf>
Custom Android assets directory path relatively to project path.
If specified more than one - all assets will be placed into one directory.
Important: This property has higher priority than global property.
debug_build_targets: Vec<AndroidTarget>
Android debug build targets.
release_build_targets: Vec<AndroidTarget>
Android release build targets.
plugins: AndroidGradlePlugins
Crossbow Android Plugins.
Trait Implementations
sourceimpl Clone for AndroidConfig
impl Clone for AndroidConfig
sourcefn clone(&self) -> AndroidConfig
fn clone(&self) -> AndroidConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AndroidConfig
impl Debug for AndroidConfig
sourceimpl Default for AndroidConfig
impl Default for AndroidConfig
sourcefn default() -> AndroidConfig
fn default() -> AndroidConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AndroidConfig
impl<'de> Deserialize<'de> for AndroidConfig
sourcefn 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
sourceimpl Serialize for AndroidConfig
impl Serialize for AndroidConfig
Auto Trait Implementations
impl RefUnwindSafe for AndroidConfig
impl Send for AndroidConfig
impl Sync for AndroidConfig
impl Unpin for AndroidConfig
impl UnwindSafe for AndroidConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more