pub struct ScreenPrediction<S> {
pub screen: S,
pub probability: f64,
pub confidence: f64,
}Expand description
A single screen prediction with probability and confidence.
Fields§
§screen: SThe predicted next screen.
probability: f64Probability of transitioning to this screen (0.0..1.0).
confidence: f64Confidence in this prediction (0.0..1.0), based on observation count.
Trait Implementations§
Source§impl<S: Clone> Clone for ScreenPrediction<S>
impl<S: Clone> Clone for ScreenPrediction<S>
Auto Trait Implementations§
impl<S> Freeze for ScreenPrediction<S>where
S: Freeze,
impl<S> RefUnwindSafe for ScreenPrediction<S>where
S: RefUnwindSafe,
impl<S> Send for ScreenPrediction<S>where
S: Send,
impl<S> Sync for ScreenPrediction<S>where
S: Sync,
impl<S> Unpin for ScreenPrediction<S>where
S: Unpin,
impl<S> UnsafeUnpin for ScreenPrediction<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for ScreenPrediction<S>where
S: UnwindSafe,
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