pub struct FlipResetTracker { /* private fields */ }Implementations§
Source§impl FlipResetTracker
impl FlipResetTracker
pub fn new() -> Self
pub fn on_frame( &mut self, processor: &ReplayProcessor<'_>, frame: &Frame, frame_index: usize, ) -> SubtrActorResult<()>
pub fn flip_reset_events(&self) -> &[FlipResetEvent]
pub fn current_frame_flip_reset_events(&self) -> &[FlipResetEvent]
pub fn post_wall_dodge_events(&self) -> &[PostWallDodgeEvent]
pub fn current_frame_post_wall_dodge_events(&self) -> &[PostWallDodgeEvent]
pub fn flip_reset_followup_dodge_events(&self) -> &[FlipResetFollowupDodgeEvent]
pub fn current_frame_flip_reset_followup_dodge_events( &self, ) -> &[FlipResetFollowupDodgeEvent]
pub fn into_events( self, ) -> (Vec<FlipResetEvent>, Vec<PostWallDodgeEvent>, Vec<FlipResetFollowupDodgeEvent>)
Trait Implementations§
Source§impl Clone for FlipResetTracker
impl Clone for FlipResetTracker
Source§fn clone(&self) -> FlipResetTracker
fn clone(&self) -> FlipResetTracker
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 Collector for FlipResetTracker
impl Collector for FlipResetTracker
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 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
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§impl Debug for FlipResetTracker
impl Debug for FlipResetTracker
Source§impl Default for FlipResetTracker
impl Default for FlipResetTracker
Source§fn default() -> FlipResetTracker
fn default() -> FlipResetTracker
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FlipResetTracker
impl RefUnwindSafe for FlipResetTracker
impl Send for FlipResetTracker
impl Sync for FlipResetTracker
impl Unpin for FlipResetTracker
impl UnsafeUnpin for FlipResetTracker
impl UnwindSafe for FlipResetTracker
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