pub struct AndroidBuildConfig { /* private fields */ }Expand description
Configuration for building a native Rust + JNI Android or Wear OS APK.
Implementations§
Source§impl AndroidBuildConfig
impl AndroidBuildConfig
pub fn get_workspace_root(&self) -> &PathBuf
pub fn get_mut_workspace_root(&mut self) -> &mut PathBuf
pub fn set_workspace_root(&mut self, val: PathBuf) -> &mut Self
pub fn get_target_kind(&self) -> AndroidTargetKind
pub fn get_mut_target_kind(&mut self) -> &mut AndroidTargetKind
pub fn set_target_kind(&mut self, val: AndroidTargetKind) -> &mut Self
pub fn get_render_mode(&self) -> RenderArg
pub fn get_mut_render_mode(&mut self) -> &mut RenderArg
pub fn set_render_mode(&mut self, val: RenderArg) -> &mut Self
pub fn get_abis(&self) -> &Vec<AndroidAbi>
pub fn get_mut_abis(&mut self) -> &mut Vec<AndroidAbi>
pub fn set_abis(&mut self, val: Vec<AndroidAbi>) -> &mut Self
pub fn get_app_version(&self) -> String
pub fn try_get_app_version(&self) -> &Option<String>
pub fn get_mut_app_version(&mut self) -> &mut Option<String>
pub fn set_app_version(&mut self, val: Option<String>) -> &mut Self
pub fn get_version_code(&self) -> Option<u32>
pub fn try_get_version_code(&self) -> Option<u32>
pub fn get_mut_version_code(&mut self) -> &mut Option<u32>
pub fn set_version_code(&mut self, val: Option<u32>) -> &mut Self
pub fn get_package_id(&self) -> &String
pub fn get_mut_package_id(&mut self) -> &mut String
pub fn set_package_id(&mut self, val: String) -> &mut Self
pub fn get_app_label(&self) -> String
pub fn try_get_app_label(&self) -> &Option<String>
pub fn get_mut_app_label(&mut self) -> &mut Option<String>
pub fn set_app_label(&mut self, val: Option<String>) -> &mut Self
pub fn get_out_file(&self) -> PathBuf
pub fn try_get_out_file(&self) -> &Option<PathBuf>
pub fn get_mut_out_file(&mut self) -> &mut Option<PathBuf>
pub fn set_out_file(&mut self, val: Option<PathBuf>) -> &mut Self
pub fn get_build_dir(&self) -> PathBuf
pub fn try_get_build_dir(&self) -> &Option<PathBuf>
pub fn get_mut_build_dir(&mut self) -> &mut Option<PathBuf>
pub fn set_build_dir(&mut self, val: Option<PathBuf>) -> &mut Self
pub fn get_keystore_path(&self) -> PathBuf
pub fn try_get_keystore_path(&self) -> &Option<PathBuf>
pub fn get_mut_keystore_path(&mut self) -> &mut Option<PathBuf>
pub fn set_keystore_path(&mut self, val: Option<PathBuf>) -> &mut Self
pub fn get_keystore_pass(&self) -> String
pub fn try_get_keystore_pass(&self) -> &Option<String>
pub fn get_mut_keystore_pass(&mut self) -> &mut Option<String>
pub fn set_keystore_pass(&mut self, val: Option<String>) -> &mut Self
pub fn get_key_pass(&self) -> String
pub fn try_get_key_pass(&self) -> &Option<String>
pub fn get_mut_key_pass(&mut self) -> &mut Option<String>
pub fn set_key_pass(&mut self, val: Option<String>) -> &mut Self
pub fn get_key_alias(&self) -> String
pub fn try_get_key_alias(&self) -> &Option<String>
pub fn get_mut_key_alias(&mut self) -> &mut Option<String>
pub fn set_key_alias(&mut self, val: Option<String>) -> &mut Self
pub fn get_release(&self) -> bool
pub fn get_mut_release(&mut self) -> &mut bool
pub fn set_release(&mut self, val: bool) -> &mut Self
pub fn get_install(&self) -> bool
pub fn get_mut_install(&mut self) -> &mut bool
pub fn set_install(&mut self, val: bool) -> &mut Self
pub fn get_shell_only(&self) -> bool
pub fn get_mut_shell_only(&mut self) -> &mut bool
pub fn set_shell_only(&mut self, val: bool) -> &mut Self
pub fn get_api_level(&self) -> String
pub fn try_get_api_level(&self) -> &Option<String>
pub fn get_mut_api_level(&mut self) -> &mut Option<String>
pub fn set_api_level(&mut self, val: Option<String>) -> &mut Self
pub fn get_build_tools(&self) -> String
pub fn try_get_build_tools(&self) -> &Option<String>
pub fn get_mut_build_tools(&mut self) -> &mut Option<String>
pub fn set_build_tools(&mut self, val: Option<String>) -> &mut Self
pub fn get_avd_name(&self) -> String
pub fn try_get_avd_name(&self) -> &Option<String>
pub fn get_mut_avd_name(&mut self) -> &mut Option<String>
pub fn set_avd_name(&mut self, val: Option<String>) -> &mut Self
Trait Implementations§
Source§impl Clone for AndroidBuildConfig
impl Clone for AndroidBuildConfig
Source§impl Debug for AndroidBuildConfig
impl Debug for AndroidBuildConfig
Source§impl Default for AndroidBuildConfig
Default configuration builder for AndroidBuildConfig.
impl Default for AndroidBuildConfig
Default configuration builder for AndroidBuildConfig.
Source§impl<'de> Deserialize<'de> for AndroidBuildConfig
impl<'de> Deserialize<'de> for AndroidBuildConfig
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
impl Eq for AndroidBuildConfig
Source§impl PartialEq for AndroidBuildConfig
impl PartialEq for AndroidBuildConfig
Source§impl Serialize for AndroidBuildConfig
impl Serialize for AndroidBuildConfig
impl StructuralPartialEq for AndroidBuildConfig
Auto Trait Implementations§
impl Forget for AndroidBuildConfig
impl Freeze for AndroidBuildConfig
impl Move for AndroidBuildConfig
impl RefUnwindSafe for AndroidBuildConfig
impl Send for AndroidBuildConfigwhere
RawVecInner: Send,
impl Sync for AndroidBuildConfigwhere
RawVecInner: Sync,
impl Unpin for AndroidBuildConfig
impl UnsafeUnpin for AndroidBuildConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<AndroidAbi>: UnsafeUnpin,
impl UnwindSafe for AndroidBuildConfigwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more