[][src]Trait experiment::controls::Controller

pub trait Controller {
    fn displacement(
        &mut self,
        ctx: &mut EventCtx<'_>,
        speed: Speed
    ) -> (f64, f64); }

Required methods

fn displacement(&mut self, ctx: &mut EventCtx<'_>, speed: Speed) -> (f64, f64)

Loading content...

Implementors

impl Controller for InstantController[src]

impl Controller for RotateController[src]

Loading content...