pub struct PlayerUnitTractorbeamInfo { /* private fields */ }

Implementations

The direction of the tractor-beam. The tractor-beam is about -15° and +15° the given direction

The range of the tractor-beam. The effective range is the value + the unit radius

The effective force of the tractor-beam. A positive value means the unit is pulling other units towards it. A negative value means the unit is pushing other units away from it.

Whether the tractor-beam touched a [Mobility#Steady] or [Mobility#Still] unit. If so, the unit itself gets moved towards or away from that unit.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.