[][src]Enum polyhorn_cli::android::tasks::AndroidTask

pub enum AndroidTask {
    BuildRuntimeLibrary(BuildRuntimeLibrary),
    GenerateSourceTree(GenerateSourceTree),
    FindAndroidStudio(FindAndroidStudio),
    Install(Install),
    InstallTarget(InstallTarget),
    LinkNativeLibraries(LinkNativeLibraries),
    Run(Run),
}

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.

Auto Trait Implementations

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

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]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,