[][src]Enum cargo_web::CargoWebOpts

pub enum CargoWebOpts {
    Build(BuildOpts),
    Check(CheckOpts),
    Deploy(DeployOpts),
    PrepareEmscripten(PrepareEmscriptenOpts),
    Start(StartOpts),
    Test(TestOpts),
    // some variants omitted
}

CLI for cargo-web

Variants

Build(BuildOpts)

Compile a local package and all of its dependencies

Check(CheckOpts)

Typecheck a local package and all of its dependencies

Deploy(DeployOpts)

Deploys your project so that it's ready to be served statically

PrepareEmscripten(PrepareEmscriptenOpts)

Fetches and installs prebuilt Emscripten packages

Start(StartOpts)

Runs an embedded web server, which serves the built project

Test(TestOpts)

Compiles and runs tests

Trait Implementations

impl Debug for CargoWebOpts[src]

impl StructOpt for CargoWebOpts[src]

default fn from_args() -> Self[src]

Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more

default fn from_iter<I>(iter: I) -> Self where
    I: IntoIterator,
    <I as IntoIterator>::Item: Into<OsString>,
    <I as IntoIterator>::Item: Clone
[src]

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more

default fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
    I: IntoIterator,
    <I as IntoIterator>::Item: Into<OsString>,
    <I as IntoIterator>::Item: Clone
[src]

Gets the struct from any iterator such as a Vec of your making. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto 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<T> Same for T

type Output = T

Should always be Self

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Typeable for T where
    T: Any

default fn get_type(&self) -> TypeId

Get the TypeId of this object.