pub trait ArmRealtimeControl<const N: usize>: ArmBehavior<N> {
// Required methods
fn move_with_closure<FM>(&mut self, closure: FM) -> RobotResult<()>
where FM: FnMut(ArmState<N>, Duration) -> (MotionType<N>, bool) + Send + 'static;
fn control_with_closure<FC>(&mut self, closure: FC) -> RobotResult<()>
where FC: FnMut(ArmState<N>, Duration) -> (ControlType<N>, bool) + Send + 'static;
}
Required Methods§
fn move_with_closure<FM>(&mut self, closure: FM) -> RobotResult<()>
fn control_with_closure<FC>(&mut self, closure: FC) -> RobotResult<()>
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.