Derive macros for ev3dev_lang_rust
This crate provides some derive macros to simplify the codebase.
The following traits can be automatically derived:
DeviceFindableMotorTachoMotorServoMotorDcMotorSensor
The findable derive needs 3 additional attributes.
class_name: &strdriver_name: &strport: dyn ev3dev_lang_rust::Motor
Example
The functionallity of the LargeMotor struct consists complitly through derives: