pub struct Invert<N> { /* private fields */ }Expand description
Swaps child success and failure while preserving running.
Implementations§
Trait Implementations§
Source§impl<N> Node for Invert<N>where
N: Node,
impl<N> Node for Invert<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 Invert<N>where
N: Freeze,
impl<N> RefUnwindSafe for Invert<N>where
N: RefUnwindSafe,
impl<N> Send for Invert<N>where
N: Send,
impl<N> Sync for Invert<N>where
N: Sync,
impl<N> Unpin for Invert<N>where
N: Unpin,
impl<N> UnsafeUnpin for Invert<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for Invert<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