[][src]Enum codegame::DebugCommand

pub enum DebugCommand<G: Game> {
    Add {
        data: G::DebugData,
    },
    Clear,
    SetAutoFlush {
        enable: bool,
    },
    Flush,
}

Debug commands that can be sent while debugging with the app

Variants

Add

Add debug data to current tick

Fields of Add

data: G::DebugData

Data to add

Clear

Clear current tick's debug data

SetAutoFlush

Enable/disable auto performing of commands

Fields of SetAutoFlush

enable: bool

Enable/disable autoflush

Flush

Perform all previously sent commands

Trait Implementations

impl<'de, G: Game> Deserialize<'de> for DebugCommand<G> where
    G::DebugData: Deserialize<'de>, 
[src]

impl<G: Game> Serialize for DebugCommand<G> where
    G::DebugData: Serialize
[src]

impl<G: Game> Trans for DebugCommand<G>[src]

Auto Trait Implementations

impl<G> RefUnwindSafe for DebugCommand<G> where
    <G as Game>::DebugData: RefUnwindSafe
[src]

impl<G> Send for DebugCommand<G> where
    <G as Game>::DebugData: Send
[src]

impl<G> Sync for DebugCommand<G> where
    <G as Game>::DebugData: Sync
[src]

impl<G> Unpin for DebugCommand<G> where
    <G as Game>::DebugData: Unpin
[src]

impl<G> UnwindSafe for DebugCommand<G> where
    <G as Game>::DebugData: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,