Struct sc2::PowerSource
[−]
[src]
pub struct PowerSource { pub tag: Tag, pub pos: Point2, pub radius: f32, }
power source information for Protoss
Fields
tag: Tag
unit tag of the power source
pos: Point2
position of the power source
radius: f32
radius of the power source
Trait Implementations
impl Debug for PowerSource
[src]
impl Copy for PowerSource
[src]
impl Clone for PowerSource
[src]
fn clone(&self) -> PowerSource
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<PowerSource> for PowerSource
[src]
fn from(source: PowerSource) -> Self
[src]
Performs the conversion.