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>
Source§fn clone(&self) -> ScreenPrediction<S>
fn clone(&self) -> ScreenPrediction<S>
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<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