optirs_learned/meta_learning/metaparameters_traits.rs
1//! # MetaParameters - Trait Implementations
2//!
3//! This module contains trait implementations for `MetaParameters`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use scirs2_core::numeric::Float;
12use std::collections::{HashMap, VecDeque};
13use std::fmt::Debug;
14
15use super::types::MetaParameters;
16
17impl<T: Float + Debug + Send + Sync + 'static> Default for MetaParameters<T> {
18 fn default() -> Self {
19 Self {
20 parameters: HashMap::new(),
21 metadata: HashMap::new(),
22 }
23 }
24}