pub enum BtParallelPolicy {
RequireAll,
RequireOne,
Threshold(usize),
}Expand description
Completion policy for BehaviorTree parallel composite nodes.
Variants§
RequireAll
Succeeds when all children succeed; fails as soon as any child fails.
RequireOne
Succeeds as soon as any child succeeds; fails only when all children fail.
Threshold(usize)
Succeeds once at least usize children succeed; fails if remaining cannot reach threshold.
Trait Implementations§
Source§impl Clone for BtParallelPolicy
impl Clone for BtParallelPolicy
impl Copy for BtParallelPolicy
Source§impl Debug for BtParallelPolicy
impl Debug for BtParallelPolicy
Source§impl Default for BtParallelPolicy
impl Default for BtParallelPolicy
impl Eq for BtParallelPolicy
Source§impl Hash for BtParallelPolicy
impl Hash for BtParallelPolicy
Source§impl PartialEq for BtParallelPolicy
impl PartialEq for BtParallelPolicy
impl StructuralPartialEq for BtParallelPolicy
Auto Trait Implementations§
impl Forget for BtParallelPolicy
impl Freeze for BtParallelPolicy
impl Move for BtParallelPolicy
impl RefUnwindSafe for BtParallelPolicy
impl Send for BtParallelPolicy
impl Sync for BtParallelPolicy
impl Unpin for BtParallelPolicy
impl UnsafeUnpin for BtParallelPolicy
impl UnwindSafe for BtParallelPolicy
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