#![allow(unused)]userand::distributions::Distribution;/// Trait for probabilistic models
////// ### Type parameters
/// - `T`: The type returned by sampling the distribution
/// - `O`: The type of the observation, contains information relevant to updating the model
pubtraitProbModel<T, O>: Distribution<T> {/// Initialize the model in a default state
fninit()->Self;/// Update the model given a new observation
fnupdate(&mutself, observation: O);}