refactor: change SchemeCharacteristics model
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user