pub trait StepperMotor {
type Error;
// Required methods
fn step(&mut self, this_step: u32) -> Result<(), Self::Error>;
fn clear(&mut self) -> Result<(), Self::Error>;
}Expand description
Generic stepper “coil driver” interface (no_std, embedded-hal compatible).
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".