pub struct MetadataFrame {
pub time: f32,
pub seconds_remaining: i32,
}Expand description
Represents game metadata for a single frame in a Rocket League replay.
Contains timing information and game state data that applies to the entire game at a specific point in time.
§Fields
time- The current time in seconds since the start of the replayseconds_remaining- The number of seconds remaining in the current game period
Fields§
§time: f32The current time in seconds since the start of the replay
seconds_remaining: i32The number of seconds remaining in the current game period
Trait Implementations§
Source§impl Clone for MetadataFrame
impl Clone for MetadataFrame
Source§fn clone(&self) -> MetadataFrame
fn clone(&self) -> MetadataFrame
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 MetadataFrame
impl Debug for MetadataFrame
Source§impl PartialEq for MetadataFrame
impl PartialEq for MetadataFrame
Source§impl Serialize for MetadataFrame
impl Serialize for MetadataFrame
impl StructuralPartialEq for MetadataFrame
Auto Trait Implementations§
impl Freeze for MetadataFrame
impl RefUnwindSafe for MetadataFrame
impl Send for MetadataFrame
impl Sync for MetadataFrame
impl Unpin for MetadataFrame
impl UnwindSafe for MetadataFrame
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