Struct sc2::debug::DebugSphere [−][src]
pub struct DebugSphere { /* fields omitted */ }A debug sphere defined by a point in world space and a radius.
Methods
impl DebugSphere[src]
impl DebugSpherepub fn new(center: Point3, radius: f32) -> Self[src]
pub fn new(center: Point3, radius: f32) -> SelfCreate a debug sphere.
pub fn color(self, color: Color) -> Self[src]
pub fn color(self, color: Color) -> SelfSet the color of the sphere (default is white).
Trait Implementations
impl Debug for DebugSphere[src]
impl Debug for DebugSpherefn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for DebugSphere[src]
impl Copy for DebugSphereimpl Clone for DebugSphere[src]
impl Clone for DebugSpherefn clone(&self) -> DebugSphere[src]
fn clone(&self) -> DebugSphereReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl From<DebugSphere> for DebugCommand[src]
impl From<DebugSphere> for DebugCommandfn from(sphere: DebugSphere) -> Self[src]
fn from(sphere: DebugSphere) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for DebugSphere
impl Send for DebugSphereimpl Sync for DebugSphere
impl Sync for DebugSphere