pub struct AndroidContext {
pub config: Config,
pub java_home: Option<PathBuf>,
pub android_sdk_root: Option<PathBuf>,
pub products: HashMap<String, PathBuf>,
}Expand description
Context that gets passed through each task.
Fields§
§config: ConfigThe platform-independent configuration that gets passed to each command.
java_home: Option<PathBuf>The Java home that is resolved after the FindAndroidStudio task.
android_sdk_root: Option<PathBuf>The Android SDK root that is resolved after the FindAndroidStudio
task.
products: HashMap<String, PathBuf>A map between Android ABIs and the path to the product for each.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AndroidContext
impl RefUnwindSafe for AndroidContext
impl Send for AndroidContext
impl Sync for AndroidContext
impl Unpin for AndroidContext
impl UnwindSafe for AndroidContext
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