refactor: change SchemeCharacteristics model

This commit is contained in:
doryan 2024-08-02 23:59:31 +04:00
parent c9dbe4ba6e
commit d92b2419e0

View File

@ -19,7 +19,14 @@ pub struct EventHandler<F, C> {
pub(crate) callback: F,
}
pub type SchemeCharacteristics = (f64, f64, f64, f64, f64, f64);
#[derive(Default, Copy, Clone)]
pub struct SignalReduce(pub f64, pub f64, pub f64, pub f64, pub f64, pub f64);
impl SignalReduce {
pub fn new() -> Self {
Self(0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
}
}
#[derive(Properties, Default)]
#[properties(wrapper_type = super::ResultValue)]