rsiot/components/cmp_derive/config.rs
1use super::derive_item_process::DeriveItemProcess;
2
3/// Настройки cmp_derive
4pub struct Config<TMsg> {
5 /// Вектор структур `DeriveItem`
6 ///
7 /// # Примеры
8 ///
9 /// ```rust
10 /// #[derive(Clone, Default, PartialEq)]
11 /// struct NewMsg {
12 /// pub f64: Option<f64>,
13 /// }
14 /// ```
15 pub derive_items: Vec<Box<dyn DeriveItemProcess<TMsg>>>,
16}