pub struct PlayerPossessionNode { /* private fields */ }Expand description
Tracks per-player possession from ball/player/possession/touch state.
Implementations§
Trait Implementations§
Source§impl AnalysisNode for PlayerPossessionNode
impl AnalysisNode for PlayerPossessionNode
Source§type State = PlayerPossessionCalculator
type State = PlayerPossessionCalculator
The typed state this node publishes to downstream nodes.
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Stable identifier for this node, used for dependency wiring and the
built-in node registry.
Source§fn emitted_events(&self) -> &'static [EmittedEvent]
fn emitted_events(&self) -> &'static [EmittedEvent]
Static catalog of the events this node emits, if any. Read more
fn dependencies(&self) -> Vec<AnalysisDependency>
fn evaluate(&mut self, ctx: &AnalysisStateContext<'_>) -> SubtrActorResult<()>
fn finish(&mut self, _ctx: &AnalysisStateContext<'_>) -> SubtrActorResult<()>
fn state(&self) -> &Self::State
fn on_replay_meta(&mut self, _meta: &ReplayMeta) -> SubtrActorResult<()>
Auto Trait Implementations§
impl Freeze for PlayerPossessionNode
impl RefUnwindSafe for PlayerPossessionNode
impl Send for PlayerPossessionNode
impl Sync for PlayerPossessionNode
impl Unpin for PlayerPossessionNode
impl UnsafeUnpin for PlayerPossessionNode
impl UnwindSafe for PlayerPossessionNode
Blanket Implementations§
Source§impl<N> AnalysisNodeDyn for Nwhere
N: AnalysisNode,
impl<N> AnalysisNodeDyn for Nwhere
N: AnalysisNode,
fn name(&self) -> &'static str
fn emitted_events(&self) -> &'static [EmittedEvent]
fn provides_state_type_id(&self) -> TypeId
fn provides_state_type_name(&self) -> &'static str
fn on_replay_meta(&mut self, meta: &ReplayMeta) -> Result<(), SubtrActorError>
fn dependencies(&self) -> Vec<AnalysisDependency>
fn evaluate( &mut self, ctx: &AnalysisStateContext<'_>, ) -> Result<(), SubtrActorError>
fn finish( &mut self, ctx: &AnalysisStateContext<'_>, ) -> Result<(), SubtrActorError>
fn state_any(&self) -> &(dyn Any + 'static)
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