refactor: change SchemeCharacteristics model
This commit is contained in:
parent
c9dbe4ba6e
commit
d92b2419e0
|
@ -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)]
|
||||
|
|
Loading…
Reference in New Issue