pub struct DriveInput {
pub throttle: f32,
pub steer: f32,
pub brake: f32,
}Fields§
§throttle: f32§steer: f32§brake: f32Trait Implementations§
Source§impl Clone for DriveInput
impl Clone for DriveInput
Source§fn clone(&self) -> DriveInput
fn clone(&self) -> DriveInput
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 DriveInput
impl Debug for DriveInput
Source§impl Default for DriveInput
impl Default for DriveInput
Source§fn default() -> DriveInput
fn default() -> DriveInput
Returns the “default value” for a type. Read more
impl Copy for DriveInput
Auto Trait Implementations§
impl Freeze for DriveInput
impl RefUnwindSafe for DriveInput
impl Send for DriveInput
impl Sync for DriveInput
impl Unpin for DriveInput
impl UnwindSafe for DriveInput
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