[][src]Struct ndk_build::ndk::Ndk

pub struct Ndk { /* fields omitted */ }

Implementations

impl Ndk[src]

pub fn from_env() -> Result<Self, NdkError>[src]

pub fn sdk(&self) -> &Path[src]

pub fn ndk(&self) -> &Path[src]

pub fn build_tools_version(&self) -> &str[src]

pub fn platforms(&self) -> &[u32][src]

pub fn build_tool(&self, tool: &str) -> Result<Command, NdkError>[src]

pub fn platform_tool(&self, tool: &str) -> Result<Command, NdkError>[src]

pub fn default_platform(&self) -> u32[src]

pub fn platform_dir(&self, platform: u32) -> Result<PathBuf, NdkError>[src]

pub fn android_jar(&self, platform: u32) -> Result<PathBuf, NdkError>[src]

pub fn toolchain_dir(&self) -> Result<PathBuf, NdkError>[src]

pub fn clang(
    &self,
    target: Target,
    platform: u32
) -> Result<(PathBuf, PathBuf), NdkError>
[src]

pub fn toolchain_bin(
    &self,
    bin: &str,
    target: Target
) -> Result<PathBuf, NdkError>
[src]

pub fn android_dir(&self) -> Result<PathBuf, NdkError>[src]

pub fn keytool(&self) -> Result<Command, NdkError>[src]

pub fn debug_key(&self) -> Result<Key, NdkError>[src]

pub fn sysroot_lib_dir(&self, target: Target) -> Result<PathBuf, NdkError>[src]

pub fn sysroot_platform_lib_dir(
    &self,
    target: Target,
    min_sdk_version: u32
) -> Result<PathBuf, NdkError>
[src]

pub fn detect_abi(&self) -> Result<Target, NdkError>[src]

Trait Implementations

impl Clone for Ndk[src]

impl Debug for Ndk[src]

impl Eq for Ndk[src]

impl PartialEq<Ndk> for Ndk[src]

impl StructuralEq for Ndk[src]

impl StructuralPartialEq for Ndk[src]

Auto Trait Implementations

impl RefUnwindSafe for Ndk

impl Send for Ndk

impl Sync for Ndk

impl Unpin for Ndk

impl UnwindSafe for Ndk

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.