NetworkPlayerControl

Trait NetworkPlayerControl 

Source
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.

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.

Implementors§