Enum ftw::ftw_command::FtwCommand[][src]

pub enum FtwCommand {
    New {
        project_name: ProjectName,
        template: FtwTemplate,
    },
    Class {
        class_name: ClassName,
        node_type: FtwNodeType,
    },
    Singleton {
        class_name: ClassName,
    },
    Run {
        machine_type: FtwMachineType,
    },
    Build {
        target: FtwTarget,
        build_type: FtwBuildType,
    },
    Export {
        target: FtwTarget,
        build_type: FtwBuildType,
    },
}

Variants

New
Show fields

Fields of New

project_name: ProjectNametemplate: FtwTemplate
Class
Show fields

Fields of Class

class_name: ClassNamenode_type: FtwNodeType
Singleton
Show fields

Fields of Singleton

class_name: ClassName
Run
Show fields

Fields of Run

machine_type: FtwMachineType
Build
Show fields

Fields of Build

target: FtwTargetbuild_type: FtwBuildType
Export
Show fields

Fields of Export

target: FtwTargetbuild_type: FtwBuildType

Implementations

Errors

Will return Err if the regular expression is invalid

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Errors Read more

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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

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.