pub enum PlayerFrame {
Empty,
Data {
rigid_body: RigidBody,
boost_amount: f32,
boost_active: bool,
jump_active: bool,
double_jump_active: bool,
dodge_active: bool,
player_name: Option<String>,
team: Option<i32>,
is_team_0: Option<bool>,
},
}Expand description
Represents a player’s state for a single frame in a Rocket League replay.
Contains comprehensive information about a player’s position, movement, and control inputs during a specific frame of the replay.
§Variants
Variants§
Empty
Empty frame indicating the player is inactive or sleeping
Data
Frame containing the player’s complete state data
Trait Implementations§
Source§impl Clone for PlayerFrame
impl Clone for PlayerFrame
Source§fn clone(&self) -> PlayerFrame
fn clone(&self) -> PlayerFrame
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlayerFrame
impl Debug for PlayerFrame
Source§impl PartialEq for PlayerFrame
impl PartialEq for PlayerFrame
Source§impl Serialize for PlayerFrame
impl Serialize for PlayerFrame
impl StructuralPartialEq for PlayerFrame
Auto Trait Implementations§
impl Freeze for PlayerFrame
impl RefUnwindSafe for PlayerFrame
impl Send for PlayerFrame
impl Sync for PlayerFrame
impl Unpin for PlayerFrame
impl UnwindSafe for PlayerFrame
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