pub struct CachedFocusPrediction {
pub focus: FocusPoint,
pub confidence: f32,
pub predicted_at: DateTime<Utc>,
}Expand description
Cached focus prediction
Fields§
§focus: FocusPointPredicted focus point
confidence: f32Prediction confidence
predicted_at: DateTime<Utc>When the prediction was made
Implementations§
Source§impl CachedFocusPrediction
impl CachedFocusPrediction
pub fn new(focus: FocusPoint, confidence: f32) -> Self
Trait Implementations§
Source§impl Clone for CachedFocusPrediction
impl Clone for CachedFocusPrediction
Source§fn clone(&self) -> CachedFocusPrediction
fn clone(&self) -> CachedFocusPrediction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CachedFocusPrediction
impl RefUnwindSafe for CachedFocusPrediction
impl Send for CachedFocusPrediction
impl Sync for CachedFocusPrediction
impl Unpin for CachedFocusPrediction
impl UnsafeUnpin for CachedFocusPrediction
impl UnwindSafe for CachedFocusPrediction
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