pub struct DriveMotorAttributes {
pub ratio: f32,
pub wheel_size: f32,
}Expand description
Defines your drivetrain motors’ ratio and wheel size.
Fields§
§ratio: f32§wheel_size: f32Auto Trait Implementations§
impl Freeze for DriveMotorAttributes
impl RefUnwindSafe for DriveMotorAttributes
impl Send for DriveMotorAttributes
impl Sync for DriveMotorAttributes
impl Unpin for DriveMotorAttributes
impl UnsafeUnpin for DriveMotorAttributes
impl UnwindSafe for DriveMotorAttributes
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