pub struct Cooldown {
pub child: Box<dyn BtNode>,
pub cooldown: f32,
/* private fields */
}Expand description
Cooldown: child can only run once every cooldown seconds.
Fields§
§child: Box<dyn BtNode>§cooldown: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cooldown
impl !RefUnwindSafe for Cooldown
impl Send for Cooldown
impl Sync for Cooldown
impl Unpin for Cooldown
impl UnsafeUnpin for Cooldown
impl !UnwindSafe for Cooldown
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