rust_sc2::units

Module iter

Source
Expand description

Iterator adaptors for Units.

Structs§

  • An iterator that filters units with no orders or almost finished orders.
  • An iterator that filters units with no orders or almost finished orders (this also handles buildings with reactor).
  • An iterator that filters out units of given type.
  • An iterator that filters out units of given types.
  • An iterator that filters units with given tags.
  • An iterator that filters flying units.
  • An iterator that filters ground units.
  • An iterator that filters units with no orders.
  • An iterator that filters units close enough to attack given unit.
  • An iterator that filters units in attack range of given unit.
  • An iterator that filters units close enough to attack given unit (this also handles range upgrades).
  • An iterator that filters units in attack range of given unit (this also handles range upgrades).
  • Owned iterator over Units.
  • An iterator that filters units structures in-progress.
  • An iterator that filters units of given type.
  • An iterator that filters units of given types.
  • An iterator that filters ready units and structures.
  • An iterator that filters units with no orders (this also handles buildings with reactor).
  • An iterator that filters units units visible on current step.

Traits§