pub struct StatsTimelineCollector { /* private fields */ }Implementations§
Source§impl StatsTimelineCollector
impl StatsTimelineCollector
pub fn new() -> Self
pub fn with_positioning_config(config: PositioningReducerConfig) -> Self
pub fn with_pressure_config(config: PressureReducerConfig) -> Self
pub fn with_rush_config(config: RushReducerConfig) -> Self
pub fn get_replay_data( self, replay: &Replay, ) -> SubtrActorResult<ReplayStatsTimeline>
pub fn get_dynamic_replay_data( self, replay: &Replay, ) -> SubtrActorResult<DynamicReplayStatsTimeline>
pub fn into_timeline(self) -> ReplayStatsTimeline
pub fn into_dynamic_timeline(self) -> DynamicReplayStatsTimeline
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