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 DebugCommandfn 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 Clone for DebugCommand[src]
impl Clone for DebugCommandfn clone(&self) -> DebugCommand[src]
fn clone(&self) -> DebugCommandReturns 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 DebugCommandimpl From<DebugLine> for DebugCommand[src]
impl From<DebugLine> for DebugCommandimpl From<DebugAabb> for DebugCommand[src]
impl From<DebugAabb> for DebugCommandimpl From<DebugSphere> for DebugCommand[src]
impl From<DebugSphere> for DebugCommandfn from(sphere: DebugSphere) -> Self[src]
fn from(sphere: DebugSphere) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for DebugCommand
impl Send for DebugCommandimpl Sync for DebugCommand
impl Sync for DebugCommand