Enum sc2::data::DebugCommand
[−]
[src]
pub enum DebugCommand { Text(DebugText), Line(DebugLine), Aabb(DebugAabb), Sphere(DebugSphere), }
a debug command for the game
Variants
Text(DebugText)
shows debug text in the game instance
Line(DebugLine)
shows a debug line in the game from p1 to p2
Aabb(DebugAabb)
shows a debug axis-aligned bounding box in the game
Sphere(DebugSphere)
shows a debug sphere in the game
Trait Implementations
impl Debug for DebugCommand
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DebugCommand
[src]
fn clone(&self) -> DebugCommand
[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
impl From<DebugText> for DebugCommand
[src]
impl From<DebugLine> for DebugCommand
[src]
impl From<DebugAabb> for DebugCommand
[src]
impl From<DebugSphere> for DebugCommand
[src]
fn from(sphere: DebugSphere) -> Self
[src]
Performs the conversion.