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 DebugAabbpub fn new(min: Point3, max: Point3) -> Self[src]
pub fn new(min: Point3, max: Point3) -> SelfCreate an AABB.
pub fn color(self, color: Color) -> Self[src]
pub fn color(self, color: Color) -> SelfSet the color of the box (default is white).
Trait Implementations
impl Debug for DebugAabb[src]
impl Debug for DebugAabbfn 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 DebugAabb[src]
impl Copy for DebugAabbimpl Clone for DebugAabb[src]
impl Clone for DebugAabbfn clone(&self) -> DebugAabb[src]
fn clone(&self) -> DebugAabbReturns 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