Enum sc2::Command [] [src]

pub enum Command {
    Action {
        units: Vec<Rc<Unit>>,
        ability: Ability,
        target: Option<ActionTarget>,
    },
}

a command to issue to the game instance

Variants

command a set of units

Fields of Action

units to command

ability to trigger

ability target

Trait Implementations

impl Debug for Command
[src]

[src]

Formats the value using the given formatter.

impl Clone for Command
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more