pub struct OnTick;Expand description
It is fired once every tick. Since this event is fired every tick, its handler shouldn’t include performance heavy code.
Implementations§
Trait Implementations§
impl Copy for OnTick
impl Eq for OnTick
impl StructuralPartialEq for OnTick
Auto Trait Implementations§
impl Freeze for OnTick
impl RefUnwindSafe for OnTick
impl Send for OnTick
impl Sync for OnTick
impl Unpin for OnTick
impl UnsafeUnpin for OnTick
impl UnwindSafe for OnTick
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