PlayerAnyJump

Struct PlayerAnyJump 

Source
pub struct PlayerAnyJump<F> { /* private fields */ }

Implementations§

Source§

impl<F> PlayerAnyJump<F>

Source

pub fn new() -> Self

Constructs a new PlayerAnyJump.

Source§

impl<F: Sync + Send + TryFrom<f32> + 'static> PlayerAnyJump<F>
where <F as TryFrom<f32>>::Error: Debug,

Source

pub fn arc_new() -> Arc<dyn PlayerFeatureAdder<F> + Send + Sync + 'static>

Trait Implementations§

Source§

impl<F: TryFrom<f32>> LengthCheckedPlayerFeatureAdder<F, $count> for PlayerAnyJump<F>
where <F as TryFrom<f32>>::Error: Debug,

Source§

fn get_column_headers_array(&self) -> &[&str; 1]

Source§

fn get_features( &self, player_id: &PlayerId, processor: &ReplayProcessor<'_>, frame: &Frame, frame_count: usize, current_time: f32, ) -> SubtrActorResult<[F; 1]>

Source§

impl<F: TryFrom<f32>> PlayerFeatureAdder<F> for PlayerAnyJump<F>
where <F as TryFrom<f32>>::Error: Debug,

Source§

fn add_features( &self, player_id: &PlayerId, processor: &ReplayProcessor<'_>, frame: &Frame, frame_count: usize, current_time: f32, vector: &mut Vec<F>, ) -> SubtrActorResult<()>

Source§

fn get_column_headers(&self) -> &[&str]

Source§

fn features_added(&self) -> usize

Auto Trait Implementations§

§

impl<F> Freeze for PlayerAnyJump<F>

§

impl<F> RefUnwindSafe for PlayerAnyJump<F>
where F: RefUnwindSafe,

§

impl<F> Send for PlayerAnyJump<F>
where F: Send,

§

impl<F> Sync for PlayerAnyJump<F>
where F: Sync,

§

impl<F> Unpin for PlayerAnyJump<F>
where F: Unpin,

§

impl<F> UnwindSafe for PlayerAnyJump<F>
where F: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.