pub enum Intent {
UnitMove(UnitMove),
UnitAttack(UnitAttack),
TurretAttack(TurretAttack),
FactorySpawnUnit(FactorySpawnUnit),
UnitSpawnUnit(UnitSpawnUnit),
ResourceTransfer(ResourceTransfer),
}Variants§
UnitMove(UnitMove)
UnitAttack(UnitAttack)
TurretAttack(TurretAttack)
FactorySpawnUnit(FactorySpawnUnit)
UnitSpawnUnit(UnitSpawnUnit)
ResourceTransfer(ResourceTransfer)
Auto Trait Implementations§
impl Freeze for Intent
impl RefUnwindSafe for Intent
impl Send for Intent
impl Sync for Intent
impl Unpin for Intent
impl UnwindSafe for Intent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more