pub struct AndroidDiscovery {
pub sdk_roots_searched: Vec<Utf8PathBuf>,
pub ndk_roots_searched: Vec<Utf8PathBuf>,
pub platforms: Vec<AndroidPlatform>,
pub build_tools: Vec<AndroidBuildTools>,
pub ndks: Vec<AndroidNdk>,
pub host_tools: AndroidHostTools,
}Expand description
Complete read-only inventory of Android toolchain candidates.
Fields§
§sdk_roots_searched: Vec<Utf8PathBuf>SDK roots inspected.
ndk_roots_searched: Vec<Utf8PathBuf>NDK roots inspected.
platforms: Vec<AndroidPlatform>Installed SDK platforms.
build_tools: Vec<AndroidBuildTools>Installed SDK Build Tools, including incomplete directories for diagnostics.
ndks: Vec<AndroidNdk>Installed NDKs.
host_tools: AndroidHostToolsHost and optional SDK tools.
Implementations§
Source§impl AndroidDiscovery
impl AndroidDiscovery
Sourcepub fn select_toolchain(
&self,
config: &AndroidConfig,
) -> Result<AndroidToolchain, AndroidError>
pub fn select_toolchain( &self, config: &AndroidConfig, ) -> Result<AndroidToolchain, AndroidError>
Select a complete direct-build toolchain for a validated Android configuration.
§Errors
Returns a typed error naming any missing platform, Build Tools, NDK, Cargo, or key tool.
Trait Implementations§
Source§impl Clone for AndroidDiscovery
impl Clone for AndroidDiscovery
Source§impl Debug for AndroidDiscovery
impl Debug for AndroidDiscovery
Source§impl<'de> Deserialize<'de> for AndroidDiscovery
impl<'de> Deserialize<'de> for AndroidDiscovery
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 AndroidDiscovery
Source§impl PartialEq for AndroidDiscovery
impl PartialEq for AndroidDiscovery
Source§impl Serialize for AndroidDiscovery
impl Serialize for AndroidDiscovery
impl StructuralPartialEq for AndroidDiscovery
Auto Trait Implementations§
impl Freeze for AndroidDiscovery
impl RefUnwindSafe for AndroidDiscovery
impl Send for AndroidDiscovery
impl Sync for AndroidDiscovery
impl Unpin for AndroidDiscovery
impl UnsafeUnpin for AndroidDiscovery
impl UnwindSafe for AndroidDiscovery
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> 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.