pub struct TurnMetrics {
pub turn_index: usize,
pub prev_total: u32,
pub delta: u32,
pub is_heavy: bool,
pub is_active: bool,
}Expand description
Computed metrics for a turn, used for presentation layer
Fields§
§turn_index: usize§prev_total: u32§delta: u32§is_heavy: bool§is_active: boolImplementations§
Source§impl TurnMetrics
impl TurnMetrics
Trait Implementations§
Source§impl Clone for TurnMetrics
impl Clone for TurnMetrics
Source§fn clone(&self) -> TurnMetrics
fn clone(&self) -> TurnMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TurnMetrics
impl RefUnwindSafe for TurnMetrics
impl Send for TurnMetrics
impl Sync for TurnMetrics
impl Unpin for TurnMetrics
impl UnwindSafe for TurnMetrics
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