Enum sc2::debug::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]
impl Debug for DebugCommand
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 Clone for DebugCommand
[src]
impl Clone for DebugCommand
fn clone(&self) -> DebugCommand
[src]
fn clone(&self) -> DebugCommand
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<DebugText> for DebugCommand
[src]
impl From<DebugText> for DebugCommand
impl From<DebugLine> for DebugCommand
[src]
impl From<DebugLine> for DebugCommand
impl From<DebugAabb> for DebugCommand
[src]
impl From<DebugAabb> for DebugCommand
impl From<DebugSphere> for DebugCommand
[src]
impl From<DebugSphere> for DebugCommand
fn from(sphere: DebugSphere) -> Self
[src]
fn from(sphere: DebugSphere) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for DebugCommand
impl Send for DebugCommand
impl Sync for DebugCommand
impl Sync for DebugCommand