pub struct BallHalfNode { /* private fields */ }Implementations§
Source§impl BallHalfNode
impl BallHalfNode
pub fn new() -> Self
pub fn with_config(config: BallHalfCalculatorConfig) -> Self
Trait Implementations§
Source§impl AnalysisNode for BallHalfNode
impl AnalysisNode for BallHalfNode
type State = BallHalfCalculator
fn name(&self) -> &'static str
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 BallHalfNode
impl RefUnwindSafe for BallHalfNode
impl Send for BallHalfNode
impl Sync for BallHalfNode
impl Unpin for BallHalfNode
impl UnsafeUnpin for BallHalfNode
impl UnwindSafe for BallHalfNode
Blanket Implementations§
Source§impl<N> AnalysisNodeDyn for Nwhere
N: AnalysisNode,
impl<N> AnalysisNodeDyn for Nwhere
N: AnalysisNode,
fn name(&self) -> &'static str
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