pub struct PWM {
pub front_right_pwm: f32,
pub rear_left_pwm: f32,
pub front_left_pwm: f32,
pub rear_right_pwm: f32,
}Fields§
§front_right_pwm: f32PWM value for the front right motor (between 0.0 to 1.0)
rear_left_pwm: f32PWM value for the rear left motor (between 0.0 to 1.0)
front_left_pwm: f32PWM value for the front left motor (between 0.0 to 1.0)
rear_right_pwm: f32PWM value for the rear right motor (between 0.0 to 1.0)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PWM
impl RefUnwindSafe for PWM
impl Send for PWM
impl Sync for PWM
impl Unpin for PWM
impl UnwindSafe for PWM
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more