Struct physx_sys::PxVehicleEngineData
source · [−]#[repr(C)]pub struct PxVehicleEngineData {
pub mTorqueCurve: PxFixedSizeLookupTable_eMAX_NB_ENGINE_TORQUE_CURVE_ENTRIES_,
pub mMOI: f32,
pub mPeakTorque: f32,
pub mMaxOmega: f32,
pub mDampingRateFullThrottle: f32,
pub mDampingRateZeroThrottleClutchEngaged: f32,
pub mDampingRateZeroThrottleClutchDisengaged: f32,
pub structgen_pad0: [u8; 8],
}Fields
mTorqueCurve: PxFixedSizeLookupTable_eMAX_NB_ENGINE_TORQUE_CURVE_ENTRIES_mMOI: f32mPeakTorque: f32mMaxOmega: f32mDampingRateFullThrottle: f32mDampingRateZeroThrottleClutchEngaged: f32mDampingRateZeroThrottleClutchDisengaged: f32structgen_pad0: [u8; 8]Trait Implementations
sourceimpl Clone for PxVehicleEngineData
impl Clone for PxVehicleEngineData
sourcefn clone(&self) -> PxVehicleEngineData
fn clone(&self) -> PxVehicleEngineData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PxVehicleEngineData
Auto Trait Implementations
impl RefUnwindSafe for PxVehicleEngineData
impl Send for PxVehicleEngineData
impl Sync for PxVehicleEngineData
impl Unpin for PxVehicleEngineData
impl UnwindSafe for PxVehicleEngineData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more