Skip to main content

Parametric

Trait Parametric 

Source
pub trait Parametric: Model {
    // Required methods
    fn get_param(&self, key: &str) -> Option<ParamValue>;
    fn all_params(&self) -> HashMap<String, ParamValue>;
}
Expand description

パラメータを提供できるモデル(戦略設定に使用)

Required Methods§

Source

fn get_param(&self, key: &str) -> Option<ParamValue>

パラメータ取得

Source

fn all_params(&self) -> HashMap<String, ParamValue>

全パラメータ取得

Implementors§