pub struct StatsTimelineCollector { /* private fields */ }Implementations§
Source§impl StatsTimelineCollector
impl StatsTimelineCollector
Sourcepub fn new() -> Self
pub fn new() -> Self
Create the legacy full-snapshot timeline collector.
This evaluates and stores cumulative team/player stat modules for every
captured frame. Prefer StatsTimelineEventCollector for compact
event-backed transfer.
pub fn into_legacy_replay_stats_timeline( self, ) -> SubtrActorResult<ReplayStatsTimeline>
pub fn into_replay_stats_timeline(self) -> SubtrActorResult<ReplayStatsTimeline>
👎Deprecated:
use into_legacy_replay_stats_timeline for full partial-sum snapshots, or StatsTimelineEventCollector for compact event-backed timelines
pub fn with_frame_resolution(self, resolution: StatsFrameResolution) -> Self
pub fn get_legacy_replay_stats_timeline( self, replay: &Replay, ) -> SubtrActorResult<ReplayStatsTimeline>
pub fn get_replay_data( self, replay: &Replay, ) -> SubtrActorResult<ReplayStatsTimeline>
👎Deprecated:
use get_legacy_replay_stats_timeline for full partial-sum snapshots, or StatsTimelineEventCollector for compact event-backed timelines
pub fn into_timeline(self) -> ReplayStatsTimeline
👎Deprecated:
use into_legacy_timeline for full partial-sum snapshots, or StatsTimelineEventCollector for compact event-backed timelines
pub fn into_legacy_timeline(self) -> ReplayStatsTimeline
Trait Implementations§
Source§impl Collector for StatsTimelineCollector
impl Collector for StatsTimelineCollector
Source§fn process_frame(
&mut self,
processor: &ReplayProcessor<'_>,
_frame: &Frame,
frame_number: usize,
current_time: f32,
) -> SubtrActorResult<TimeAdvance>
fn process_frame( &mut self, processor: &ReplayProcessor<'_>, _frame: &Frame, frame_number: usize, current_time: f32, ) -> SubtrActorResult<TimeAdvance>
Process a single frame from a replay. Read more
Source§fn finish_replay(
&mut self,
_processor: &ReplayProcessor<'_>,
) -> SubtrActorResult<()>
fn finish_replay( &mut self, _processor: &ReplayProcessor<'_>, ) -> SubtrActorResult<()>
Finalize replay-derived state after the last frame has been processed. Read more
Source§fn process_replay(self, replay: &Replay) -> SubtrActorResult<Self>where
Self: Sized,
fn process_replay(self, replay: &Replay) -> SubtrActorResult<Self>where
Self: Sized,
Process an entire replay. Read more
Auto Trait Implementations§
impl Freeze for StatsTimelineCollector
impl !RefUnwindSafe for StatsTimelineCollector
impl !Send for StatsTimelineCollector
impl !Sync for StatsTimelineCollector
impl Unpin for StatsTimelineCollector
impl UnsafeUnpin for StatsTimelineCollector
impl !UnwindSafe for StatsTimelineCollector
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