This crate provides some derive macros to simplify the codebase.
The following traits can be automatically derived:
Device
Findable
Motor
TachoMotor
ServoMotor
DcMotor
Sensor
The findable derive needs 3 additional attributes.
* class_name: &str
* driver_name: &str
* port: dyn ev3dev_lang_rust::Motor
The functionallity of the LargeMotor
struct consists complitly through derives:
```rust
pub struct LargeMotor { driver: Driver, } ```