pub struct StatsTimelineEventCollector { /* private fields */ }Implementations§
Source§impl StatsTimelineEventCollector
impl StatsTimelineEventCollector
pub fn new() -> Self
pub fn with_frame_resolution(self, resolution: StatsFrameResolution) -> Self
pub fn into_replay_stats_timeline_scaffold( self, ) -> SubtrActorResult<ReplayStatsTimelineScaffold>
pub fn get_replay_stats_timeline_scaffold( self, replay: &Replay, ) -> SubtrActorResult<ReplayStatsTimelineScaffold>
pub fn get_replay_data( self, replay: &Replay, ) -> SubtrActorResult<ReplayStatsTimelineScaffold>
👎Deprecated:
use get_replay_stats_timeline_scaffold for compact event-backed timelines
Trait Implementations§
Source§impl Collector for StatsTimelineEventCollector
impl Collector for StatsTimelineEventCollector
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 StatsTimelineEventCollector
impl !RefUnwindSafe for StatsTimelineEventCollector
impl !Send for StatsTimelineEventCollector
impl !Sync for StatsTimelineEventCollector
impl Unpin for StatsTimelineEventCollector
impl UnsafeUnpin for StatsTimelineEventCollector
impl !UnwindSafe for StatsTimelineEventCollector
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