pub struct RacingControl {
pub throttle: f32,
pub steer: f32,
pub target_speed: f32,
pub lane: f32,
pub recovering: bool,
}Fields§
§throttle: f32§steer: f32§target_speed: f32§lane: f32§recovering: boolTrait Implementations§
Source§impl Clone for RacingControl
impl Clone for RacingControl
Source§fn clone(&self) -> RacingControl
fn clone(&self) -> RacingControl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RacingControl
impl Debug for RacingControl
Source§impl PartialEq for RacingControl
impl PartialEq for RacingControl
impl Copy for RacingControl
impl StructuralPartialEq for RacingControl
Auto Trait Implementations§
impl Freeze for RacingControl
impl RefUnwindSafe for RacingControl
impl Send for RacingControl
impl Sync for RacingControl
impl Unpin for RacingControl
impl UnwindSafe for RacingControl
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