Struct physx_sys::PxVehicleDriveDynData
source · #[repr(C)]pub struct PxVehicleDriveDynData {
pub mControlAnalogVals: [f32; 16],
pub mUseAutoGears: bool,
pub mGearUpPressed: bool,
pub mGearDownPressed: bool,
pub structgen_pad0: [u8; 1],
pub mCurrentGear: u32,
pub mTargetGear: u32,
pub mEnginespeed: f32,
pub mGearSwitchTime: f32,
pub mAutoBoxSwitchTime: f32,
pub structgen_pad1: [u8; 8],
}
Fields§
§mControlAnalogVals: [f32; 16]
§mUseAutoGears: bool
§mGearUpPressed: bool
§mGearDownPressed: bool
§structgen_pad0: [u8; 1]
§mCurrentGear: u32
§mTargetGear: u32
§mEnginespeed: f32
§mGearSwitchTime: f32
§mAutoBoxSwitchTime: f32
§structgen_pad1: [u8; 8]
Trait Implementations§
source§impl Clone for PxVehicleDriveDynData
impl Clone for PxVehicleDriveDynData
source§fn clone(&self) -> PxVehicleDriveDynData
fn clone(&self) -> PxVehicleDriveDynData
Returns a copy 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 more