rsiot/components/cmp_derive/
config.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::derive_item_process::DeriveItemProcess;

/// Настройки cmp_derive
pub struct Config<TMsg> {
    /// Вектор структур `DeriveItem`
    ///
    /// # Примеры
    ///
    /// ```rust
    /// #[derive(Clone, Default, PartialEq)]
    /// struct NewMsg {
    ///     pub f64: Option<f64>,
    /// }
    /// ```
    pub derive_items: Vec<Box<dyn DeriveItemProcess<TMsg>>>,
}