1 2 3 4 5 6 7 8 9 10 11
use crate::motors::{Motor, TachoMotor}; use crate::{Attribute, Device, Driver, Ev3Result, Findable}; /// EV3/NXT large servo motor #[derive(Debug, Clone, Device, Findable, Motor, TachoMotor)] #[class_name = "tacho-motor"] #[driver_name = "lego-ev3-l-motor"] #[port = "crate::motors::MotorPort"] pub struct LargeMotor { driver: Driver, }