pub struct Ticker<S> { /* private fields */ }Expand description
Ticks a behavior tree using an external tick source.
Ticker is built from any Stream<Item = TickSignal>, so callers can
define their own ticking mechanism. A tick source can be periodic with
PeriodicTick, event-driven from an external stream, or a hybrid of
time-based and signal-based wakeups.
Implementations§
Auto Trait Implementations§
impl<S> Freeze for Ticker<S>
impl<S> RefUnwindSafe for Ticker<S>where
S: RefUnwindSafe,
impl<S> Send for Ticker<S>where
S: Send,
impl<S> Sync for Ticker<S>where
S: Sync,
impl<S> Unpin for Ticker<S>
impl<S> UnsafeUnpin for Ticker<S>
impl<S> UnwindSafe for Ticker<S>where
S: 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