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: f32
mPeakTorque: f32
mMaxOmega: f32
mDampingRateFullThrottle: f32
mDampingRateZeroThrottleClutchEngaged: f32
mDampingRateZeroThrottleClutchDisengaged: f32
structgen_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 more
impl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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