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 DebugSphere
pub fn new(center: Point3, radius: f32) -> Self
[src]
pub fn new(center: Point3, radius: f32) -> Self
Create a debug sphere.
pub fn color(self, color: Color) -> Self
[src]
pub fn color(self, color: Color) -> Self
Set the color of the sphere (default is white).
Trait Implementations
impl Debug for DebugSphere
[src]
impl Debug for DebugSphere
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for DebugSphere
[src]
impl Copy for DebugSphere
impl Clone for DebugSphere
[src]
impl Clone for DebugSphere
fn clone(&self) -> DebugSphere
[src]
fn clone(&self) -> DebugSphere
Returns 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 DebugCommand
fn from(sphere: DebugSphere) -> Self
[src]
fn from(sphere: DebugSphere) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for DebugSphere
impl Send for DebugSphere
impl Sync for DebugSphere
impl Sync for DebugSphere