Struct sc2::data::DebugAabb
[−]
[src]
pub struct DebugAabb { /* fields omitted */ }
a debug axis-aligned bounding box defined by two corners
Methods
impl DebugAabb
[src]
pub fn new(min: Point3, max: Point3) -> Self
[src]
create an AABB
pub fn color(self, color: Color) -> Self
[src]
set the color of the box (default is white)
Trait Implementations
impl Debug for DebugAabb
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for DebugAabb
[src]
impl Clone for DebugAabb
[src]
fn clone(&self) -> DebugAabb
[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