pub struct Predictor {
pub total_predictions: usize,
pub correct_predictions: usize,
/* private fields */
}Fields§
§total_predictions: usizeThe total number of predictions made.
correct_predictions: usizeThe number of correct predictions made.
Implementations§
Auto Trait Implementations§
impl Freeze for Predictor
impl RefUnwindSafe for Predictor
impl Send for Predictor
impl Sync for Predictor
impl Unpin for Predictor
impl UnwindSafe for Predictor
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