Struct sc2::data::DebugLine
[−]
[src]
pub struct DebugLine { /* fields omitted */ }
a debug line defined by a start and end point
Methods
impl DebugLine
[src]
pub fn new(p1: Point3, p2: Point3) -> Self
[src]
create a line from p1 to p2
pub fn color(self, color: Color) -> Self
[src]
set the color of the line (default is white)
Trait Implementations
impl Debug for DebugLine
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for DebugLine
[src]
impl Clone for DebugLine
[src]
fn clone(&self) -> DebugLine
[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