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§

source

fn get_dense_input(&self) -> Dense

Get DenseInput for control.

source

fn update_from_dense(&mut self, new_control: &Dense)

Update control from DenseInput.

Object Safety§

This trait is not object safe.

Implementors§