pub struct RallyTarget {
pub point: Point2,
pub tag: Option<u64>,
}
Expand description
Rally point of production building.
All rally points stored in rally_targets
field.
Fields§
§point: Point2
Rally point. Position building rallied on.
tag: Option<u64>
Filled if building is rallied on unit.
Trait Implementations§
Source§impl Clone for RallyTarget
impl Clone for RallyTarget
Source§fn clone(&self) -> RallyTarget
fn clone(&self) -> RallyTarget
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RallyTarget
impl RefUnwindSafe for RallyTarget
impl Send for RallyTarget
impl Sync for RallyTarget
impl Unpin for RallyTarget
impl UnwindSafe for RallyTarget
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