pub trait NetworkPlayerControl<Dense: DenseInput>:
Send
+ Sync
+ Default {
// Required methods
fn get_dense_input(&self) -> Dense;
fn update_from_dense(&mut self, new_control: &Dense);
}Expand description
Trait allowing for creating and applying DenseInput from control.
Required Methods§
Sourcefn get_dense_input(&self) -> Dense
fn get_dense_input(&self) -> Dense
Get DenseInput for control.
Sourcefn update_from_dense(&mut self, new_control: &Dense)
fn update_from_dense(&mut self, new_control: &Dense)
Update control from 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.