pub struct PredictionConfig {
pub max_horizon_ms: u32,
pub confidence_decay: f32,
pub min_confidence: f32,
pub predict_motion: bool,
pub predict_expression: bool,
}Expand description
Prediction configuration
Fields§
§max_horizon_ms: u32Maximum prediction horizon in milliseconds
confidence_decay: f32Confidence decay rate per 100ms
min_confidence: f32Minimum confidence before prediction stops
predict_motion: boolEnable motion prediction
predict_expression: boolEnable expression prediction
Trait Implementations§
Source§impl Clone for PredictionConfig
impl Clone for PredictionConfig
Source§fn clone(&self) -> PredictionConfig
fn clone(&self) -> PredictionConfig
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 moreSource§impl Debug for PredictionConfig
impl Debug for PredictionConfig
Auto Trait Implementations§
impl Freeze for PredictionConfig
impl RefUnwindSafe for PredictionConfig
impl Send for PredictionConfig
impl Sync for PredictionConfig
impl Unpin for PredictionConfig
impl UnsafeUnpin for PredictionConfig
impl UnwindSafe for PredictionConfig
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