pub struct AndroidSdk { /* private fields */ }Implementations§
Source§impl AndroidSdk
impl AndroidSdk
pub fn from_env() -> Result<Self>
pub fn sdk_path(&self) -> &Path
pub fn build_deps_path(&self) -> &Path
pub fn build_deps_version(&self) -> &str
pub fn platforms_path(&self) -> &Path
pub fn platforms(&self) -> &[u32]
pub fn build_tool( &self, tool: &str, current_dir: Option<&Path>, ) -> Result<ProcessCommand>
pub fn platform_tool(&self, tool: &str) -> Result<ProcessCommand>
pub fn default_platform(&self) -> u32
pub fn platform_dir(&self, platform: u32) -> Result<PathBuf>
pub fn android_jar(&self, platform: u32) -> Result<PathBuf>
Auto Trait Implementations§
impl Freeze for AndroidSdk
impl RefUnwindSafe for AndroidSdk
impl Send for AndroidSdk
impl Sync for AndroidSdk
impl Unpin for AndroidSdk
impl UnsafeUnpin for AndroidSdk
impl UnwindSafe for AndroidSdk
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
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