pub struct Fail<N> { /* private fields */ }Expand description
Forces any terminal child result to become TickStatus::Failure.
Implementations§
Trait Implementations§
Source§impl<N> Node for Fail<N>where
N: Node,
impl<N> Node for Fail<N>where
N: Node,
Source§fn tick(&mut self) -> TickStatus
fn tick(&mut self) -> TickStatus
Advance the node by one execution step. Read more
Auto Trait Implementations§
impl<N> Freeze for Fail<N>where
N: Freeze,
impl<N> RefUnwindSafe for Fail<N>where
N: RefUnwindSafe,
impl<N> Send for Fail<N>where
N: Send,
impl<N> Sync for Fail<N>where
N: Sync,
impl<N> Unpin for Fail<N>where
N: Unpin,
impl<N> UnsafeUnpin for Fail<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for Fail<N>where
N: UnwindSafe,
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