Trait jumpy::prelude::input::NetworkPlayerControl

pub trait NetworkPlayerControl<Dense>: Send + Sync + Default
where Dense: DenseInput,
{ // 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§

fn get_dense_input(&self) -> Dense

Get DenseInput for control.

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

Update control from DenseInput.

Object Safety§

This trait is not object safe.

Implementors§