Struct sc2::Action [] [src]

pub struct Action {
    pub ability: Ability,
    pub unit_tags: Vec<Tag>,
    pub target: Option<ActionTarget>,
}

an action (command or ability) applied to a unit or set of units

Fields

the ability to invoke

units that this action applies to

target of the action

Trait Implementations

impl Debug for Action
[src]

[src]

Formats the value using the given formatter.

impl Clone for Action
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more