pub enum Action {
    GenAst,
    GenBridge,
    GenArtifactCode,
    GenCHeader,
    BuildArtifact,
    All,
}

Variants

GenAst

Parse src/contract and src/imp, generate simplified ast json file to _gen/ast.

GenBridge

Generate rust bridge code to _gen/ios_bridge or _gen/android_bridge, for iOS it’s c ffi functions, for android it’s jni ffi functions.

GenArtifactCode

Generate code in artifact(iOS framework or android aar)

GenCHeader

Generate c header file

BuildArtifact

Build and generate artifact.

All

Do all the process and generate artifacts.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.