pub struct HalfVolleyCalculator { /* private fields */ }Implementations§
Source§impl HalfVolleyCalculator
impl HalfVolleyCalculator
pub fn new() -> Self
pub fn with_config(config: HalfVolleyCalculatorConfig) -> Self
pub fn config(&self) -> &HalfVolleyCalculatorConfig
pub fn player_stats(&self) -> &HashMap<PlayerId, HalfVolleyPlayerStats>
pub fn team_zero_stats(&self) -> &HalfVolleyTeamStats
pub fn team_one_stats(&self) -> &HalfVolleyTeamStats
pub fn events(&self) -> &[HalfVolleyEvent]
pub fn update( &mut self, frame: &FrameInfo, ball: &BallFrameState, touch_state: &TouchState, live_play: bool, ) -> SubtrActorResult<()>
Trait Implementations§
Source§impl Clone for HalfVolleyCalculator
impl Clone for HalfVolleyCalculator
Source§fn clone(&self) -> HalfVolleyCalculator
fn clone(&self) -> HalfVolleyCalculator
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 moreSource§impl Debug for HalfVolleyCalculator
impl Debug for HalfVolleyCalculator
Source§impl Default for HalfVolleyCalculator
impl Default for HalfVolleyCalculator
Source§fn default() -> HalfVolleyCalculator
fn default() -> HalfVolleyCalculator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HalfVolleyCalculator
impl RefUnwindSafe for HalfVolleyCalculator
impl Send for HalfVolleyCalculator
impl Sync for HalfVolleyCalculator
impl Unpin for HalfVolleyCalculator
impl UnsafeUnpin for HalfVolleyCalculator
impl UnwindSafe for HalfVolleyCalculator
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