[−][src]Enum polyhorn_cli::android::tasks::AndroidTask
Represents one of the Android-specific tasks.
Variants
BuildRuntimeLibrary(BuildRuntimeLibrary)This tasks builds the runtime library for the given target and with the given profile.
GenerateSourceTree(GenerateSourceTree)This task generates a new source tree based on the template that ships
with polyhorn-cli.
FindAndroidStudio(FindAndroidStudio)This task attempts to locate Android Studio and uses the result to locate the Android SDK and Java home. The Android Studio itself isn't used, but it's the easiest way of obtaining a working installation of the SDK, NDK and Java that are all compatible.
Install(Install)This task invokes Gradle to install a debug-build on the user's device or emulator.
InstallTarget(InstallTarget)This task installs a target with a given name using rustup, if necessary.
LinkNativeLibraries(LinkNativeLibraries)This task copies all products from the BuildRuntimeLibrary task into
the jniLibs folder of the Android source tree.
Run(Run)This task launches the newly installed Polyhorn-powered app on a user's device or emulator.
Trait Implementations
impl Task for AndroidTask[src]
type Context = AndroidContext
The type of context that is passed to this task, processed and subsequently returned by this task. Read more
type Error = AndroidError
The type of error that this task can return.
pub fn verb(&self) -> &str[src]
pub fn message(&self) -> &str[src]
pub fn detail(&self) -> &str[src]
pub fn run(
&self,
context: Self::Context,
manager: &mut Manager<'_>
) -> Result<Self::Context, Self::Error>[src]
&self,
context: Self::Context,
manager: &mut Manager<'_>
) -> Result<Self::Context, Self::Error>
Auto Trait Implementations
impl RefUnwindSafe for AndroidTask
impl Send for AndroidTask
impl Sync for AndroidTask
impl Unpin for AndroidTask
impl UnwindSafe for AndroidTask
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,