pub enum Behavior<T, P> {
Wait(f64, f64),
If(String, fn(_: &mut T, _: &P) -> bool, Box<Behavior<T, P>>, Box<Behavior<T, P>>),
Sequence(Vec<Behavior<T, P>>),
Action(String, fn(_: &mut T, _: &P) -> Status),
ActionSuccess(String, fn(_: &mut T, _: &P)),
}
Tuple Fields of ActionSuccess
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.