pub struct MechanismStats {
pub total_reward: f32,
pub count: usize,
pub avg_reward: f32,
}Fields§
§total_reward: f32§count: usize§avg_reward: f32Trait Implementations§
Source§impl Clone for MechanismStats
impl Clone for MechanismStats
Source§fn clone(&self) -> MechanismStats
fn clone(&self) -> MechanismStats
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 MechanismStats
impl RefUnwindSafe for MechanismStats
impl Send for MechanismStats
impl Sync for MechanismStats
impl Unpin for MechanismStats
impl UnsafeUnpin for MechanismStats
impl UnwindSafe for MechanismStats
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