pub enum BehaviorStatus {
Running,
Done,
}Expand description
Whether a behavior wants to be ticked again.
Variants§
Running
Tick me again next step (a node graph; a tree still running).
Done
I reached a terminal state; the runtime may drop me.
Trait Implementations§
Source§impl Clone for BehaviorStatus
impl Clone for BehaviorStatus
Source§fn clone(&self) -> BehaviorStatus
fn clone(&self) -> BehaviorStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BehaviorStatus
Source§impl Debug for BehaviorStatus
impl Debug for BehaviorStatus
impl Eq for BehaviorStatus
Source§impl PartialEq for BehaviorStatus
impl PartialEq for BehaviorStatus
Source§fn eq(&self, other: &BehaviorStatus) -> bool
fn eq(&self, other: &BehaviorStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BehaviorStatus
Auto Trait Implementations§
impl Freeze for BehaviorStatus
impl RefUnwindSafe for BehaviorStatus
impl Send for BehaviorStatus
impl Sync for BehaviorStatus
impl Unpin for BehaviorStatus
impl UnsafeUnpin for BehaviorStatus
impl UnwindSafe for BehaviorStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more