pub enum BallFrame {
Empty,
Data {
rigid_body: RigidBody,
},
}Expand description
Represents the ball state for a single frame in a Rocket League replay.
The ball can either be in an empty state (when sleeping or when ball syncing is disabled) or contain full physics data including position, rotation, and velocity information.
§Variants
Variants§
Empty
Empty frame indicating the ball is sleeping or ball syncing is disabled
Data
Frame containing the ball’s rigid body physics data
Trait Implementations§
impl StructuralPartialEq for BallFrame
Auto Trait Implementations§
impl Freeze for BallFrame
impl RefUnwindSafe for BallFrame
impl Send for BallFrame
impl Sync for BallFrame
impl Unpin for BallFrame
impl UnwindSafe for BallFrame
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