pub trait DenseControl<Dense: DenseInput>:
Send
+ Sync
+ Default {
// Required method
fn update_from_dense(&mut self, new_control: &Dense);
}Expand description
A trait representing a control type capable of being updated by a DenseInput.
Required Methods§
Sourcefn update_from_dense(&mut self, new_control: &Dense)
fn update_from_dense(&mut self, new_control: &Dense)
Update this control with a DenseInput.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.