pub enum ArenaEvent {
BallHitWorld(BallHitWorldEvent),
CarHitBall(CarHitBallEvent),
CarHitCar(CarHitCarEvent),
CarHitWorld(CarHitWorldEvent),
CarPickupBoost(CarPickupBoostEvent),
CarLanded(CarLandedEvent),
}Expand description
One tick’s contact/pickup notifications.
Returned by crate::Arena::step_tick and
crate::Arena::get_last_step_events; valid only until the next tick.
Variants§
BallHitWorld(BallHitWorldEvent)
CarHitBall(CarHitBallEvent)
CarHitCar(CarHitCarEvent)
CarHitWorld(CarHitWorldEvent)
CarPickupBoost(CarPickupBoostEvent)
CarLanded(CarLandedEvent)
Trait Implementations§
Source§impl Clone for ArenaEvent
impl Clone for ArenaEvent
impl Copy for ArenaEvent
Auto Trait Implementations§
impl Freeze for ArenaEvent
impl RefUnwindSafe for ArenaEvent
impl Send for ArenaEvent
impl Sync for ArenaEvent
impl Unpin for ArenaEvent
impl UnsafeUnpin for ArenaEvent
impl UnwindSafe for ArenaEvent
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