pub trait ConstantEditor<T>: Default { fn editor(&self, ui: &Ui<'_>, constant: &mut T) -> bool; }
Build editor for constant T and return true on change