Struct sc2::debug::DebugAabb [−][src]
pub struct DebugAabb { /* fields omitted */ }
A debug axis-aligned bounding box defined by two corners.
Methods
impl DebugAabb
[src]
impl DebugAabb
pub fn new(min: Point3, max: Point3) -> Self
[src]
pub fn new(min: Point3, max: Point3) -> Self
Create an AABB.
pub fn color(self, color: Color) -> Self
[src]
pub fn color(self, color: Color) -> Self
Set the color of the box (default is white).
Trait Implementations
impl Debug for DebugAabb
[src]
impl Debug for DebugAabb
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 DebugAabb
[src]
impl Copy for DebugAabb
impl Clone for DebugAabb
[src]
impl Clone for DebugAabb
fn clone(&self) -> DebugAabb
[src]
fn clone(&self) -> DebugAabb
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<DebugAabb> for DebugCommand
[src]
impl From<DebugAabb> for DebugCommand