pub struct AnalysisPlayerFeatureInput<'a, 'ctx> {
pub context: &'a AnalysisFeatureContext<'ctx>,
pub player_id: &'a PlayerId,
pub processor: &'a dyn ProcessorView,
pub frame: &'a Frame,
pub frame_count: usize,
pub current_time: f32,
}Expand description
Arguments supplied to object-safe per-player analysis feature adders.
Fields§
§context: &'a AnalysisFeatureContext<'ctx>§player_id: &'a PlayerId§processor: &'a dyn ProcessorView§frame: &'a Frame§frame_count: usize§current_time: f32Trait Implementations§
Source§impl<'a, 'ctx> Clone for AnalysisPlayerFeatureInput<'a, 'ctx>
impl<'a, 'ctx> Clone for AnalysisPlayerFeatureInput<'a, 'ctx>
Source§fn clone(&self) -> AnalysisPlayerFeatureInput<'a, 'ctx>
fn clone(&self) -> AnalysisPlayerFeatureInput<'a, 'ctx>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a, 'ctx> Copy for AnalysisPlayerFeatureInput<'a, 'ctx>
Auto Trait Implementations§
impl<'a, 'ctx> !RefUnwindSafe for AnalysisPlayerFeatureInput<'a, 'ctx>
impl<'a, 'ctx> !Send for AnalysisPlayerFeatureInput<'a, 'ctx>
impl<'a, 'ctx> !Sync for AnalysisPlayerFeatureInput<'a, 'ctx>
impl<'a, 'ctx> !UnwindSafe for AnalysisPlayerFeatureInput<'a, 'ctx>
impl<'a, 'ctx> Freeze for AnalysisPlayerFeatureInput<'a, 'ctx>
impl<'a, 'ctx> Unpin for AnalysisPlayerFeatureInput<'a, 'ctx>
impl<'a, 'ctx> UnsafeUnpin for AnalysisPlayerFeatureInput<'a, 'ctx>
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