Enum aspen::Status [] [src]

pub enum Status {
    Initialized,
    Running,
    Succeeded,
    Failed,
}

Represents the status of a given node in the behavior tree.

Variants

A Node with this status is one that has not been ticked since either its creation or since it was last reset.

Represents that a Node is currently executing its logic.

The status of a Node which as been ticked to completion and successfully executed its logic.

That status of a Node which has been ticked to completion and failed to execute its logic.

Methods

impl Status
[src]

Returns true if the Status is one where execution has finished.

Execution is considered to be done if it is either Succeeded or Failed.

Trait Implementations

impl Copy for Status
[src]

impl Clone for Status
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Status
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Status
[src]

impl Debug for Status
[src]

Formats the value using the given formatter.