pub struct AndroidNdk { /* private fields */ }Implementations§
Source§impl AndroidNdk
impl AndroidNdk
pub fn from_env(sdk_path: Option<&Path>) -> Result<Self>
pub fn ndk_path(&self) -> &Path
pub fn toolchain_dir(&self) -> Result<PathBuf>
pub fn clang( &self, target: AndroidTarget, platform: u32, ) -> Result<(PathBuf, PathBuf)>
pub fn toolchain_bin( &self, name: &str, build_target: AndroidTarget, ) -> Result<PathBuf>
pub fn readelf(&self, build_target: AndroidTarget) -> Result<Command>
pub fn sysroot_lib_dir(&self, build_target: AndroidTarget) -> Result<PathBuf>
pub fn sysroot_platform_lib_dir( &self, build_target: AndroidTarget, min_sdk_version: u32, ) -> Result<PathBuf>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AndroidNdk
impl RefUnwindSafe for AndroidNdk
impl Send for AndroidNdk
impl Sync for AndroidNdk
impl Unpin for AndroidNdk
impl UnwindSafe for AndroidNdk
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