pub struct ReplayFile {
pub metadata: ReplayMetadata,
pub events: Vec<InputEvent>,
pub snapshots: Vec<ReplaySnapshot>,
}Expand description
A complete recorded replay.
Fields§
§metadata: ReplayMetadata§events: Vec<InputEvent>§snapshots: Vec<ReplaySnapshot>Periodic state snapshots for fast seeking (one per N frames).
Implementations§
Source§impl ReplayFile
impl ReplayFile
Trait Implementations§
Source§impl Clone for ReplayFile
impl Clone for ReplayFile
Source§fn clone(&self) -> ReplayFile
fn clone(&self) -> ReplayFile
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 moreAuto Trait Implementations§
impl Freeze for ReplayFile
impl RefUnwindSafe for ReplayFile
impl Send for ReplayFile
impl Sync for ReplayFile
impl Unpin for ReplayFile
impl UnsafeUnpin for ReplayFile
impl UnwindSafe for ReplayFile
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