pub struct VehiclePhysicsRow<'a, 'b> { /* private fields */ }
Expand description

Implementations§

source§

impl<'a, 'b> VehiclePhysicsRow<'a, 'b>

source

pub fn id(&self) -> i32

Get the data in column id

source

pub fn hkx_filename(&self) -> Option<&'a Latin1Str>

Get the data in column hkxFilename

source

pub fn f_gravity_scale(&self) -> f32

Get the data in column fGravityScale

source

pub fn f_mass(&self) -> f32

Get the data in column fMass

source

pub fn f_chassis_friction(&self) -> f32

Get the data in column fChassisFriction

source

pub fn f_max_speed(&self) -> f32

Get the data in column fMaxSpeed

source

pub fn f_engine_torque(&self) -> f32

Get the data in column fEngineTorque

source

pub fn f_brake_front_torque(&self) -> f32

Get the data in column fBrakeFrontTorque

source

pub fn f_brake_rear_torque(&self) -> f32

Get the data in column fBrakeRearTorque

source

pub fn f_brake_min_input_to_block(&self) -> f32

Get the data in column fBrakeMinInputToBlock

source

pub fn f_brake_min_time_to_block(&self) -> f32

Get the data in column fBrakeMinTimeToBlock

source

pub fn f_steering_max_angle(&self) -> f32

Get the data in column fSteeringMaxAngle

source

pub fn f_steering_speed_limit_for_max_angle(&self) -> f32

Get the data in column fSteeringSpeedLimitForMaxAngle

source

pub fn f_steering_min_angle(&self) -> f32

Get the data in column fSteeringMinAngle

source

pub fn f_fwd_bias(&self) -> f32

Get the data in column fFwdBias

source

pub fn f_front_tire_friction(&self) -> f32

Get the data in column fFrontTireFriction

source

pub fn f_rear_tire_friction(&self) -> f32

Get the data in column fRearTireFriction

source

pub fn f_front_tire_friction_slide(&self) -> f32

Get the data in column fFrontTireFrictionSlide

source

pub fn f_rear_tire_friction_slide(&self) -> f32

Get the data in column fRearTireFrictionSlide

source

pub fn f_front_tire_slip_angle(&self) -> f32

Get the data in column fFrontTireSlipAngle

source

pub fn f_rear_tire_slip_angle(&self) -> f32

Get the data in column fRearTireSlipAngle

source

pub fn f_wheel_width(&self) -> f32

Get the data in column fWheelWidth

source

pub fn f_wheel_radius(&self) -> f32

Get the data in column fWheelRadius

source

pub fn f_wheel_mass(&self) -> f32

Get the data in column fWheelMass

source

pub fn f_reorient_pitch_strength(&self) -> f32

Get the data in column fReorientPitchStrength

source

pub fn f_reorient_roll_strength(&self) -> f32

Get the data in column fReorientRollStrength

source

pub fn f_suspension_length(&self) -> f32

Get the data in column fSuspensionLength

source

pub fn f_suspension_strength(&self) -> f32

Get the data in column fSuspensionStrength

source

pub fn f_suspension_damping_compression(&self) -> f32

Get the data in column fSuspensionDampingCompression

source

pub fn f_suspension_damping_relaxation(&self) -> f32

Get the data in column fSuspensionDampingRelaxation

source

pub fn i_chassis_collision_group(&self) -> i32

Get the data in column iChassisCollisionGroup

source

pub fn f_normal_spin_damping(&self) -> f32

Get the data in column fNormalSpinDamping

source

pub fn f_collision_spin_damping(&self) -> f32

Get the data in column fCollisionSpinDamping

source

pub fn f_collision_threshold(&self) -> f32

Get the data in column fCollisionThreshold

source

pub fn f_torque_roll_factor(&self) -> f32

Get the data in column fTorqueRollFactor

source

pub fn f_torque_pitch_factor(&self) -> f32

Get the data in column fTorquePitchFactor

source

pub fn f_torque_yaw_factor(&self) -> f32

Get the data in column fTorqueYawFactor

source

pub fn f_inertia_roll(&self) -> f32

Get the data in column fInertiaRoll

source

pub fn f_inertia_pitch(&self) -> f32

Get the data in column fInertiaPitch

source

pub fn f_inertia_yaw(&self) -> f32

Get the data in column fInertiaYaw

source

pub fn f_extra_torque_factor(&self) -> f32

Get the data in column fExtraTorqueFactor

source

pub fn f_center_of_mass_fwd(&self) -> f32

Get the data in column fCenterOfMassFwd

source

pub fn f_center_of_mass_up(&self) -> f32

Get the data in column fCenterOfMassUp

source

pub fn f_center_of_mass_right(&self) -> f32

Get the data in column fCenterOfMassRight

source

pub fn f_wheel_hardpoint_front_fwd(&self) -> f32

Get the data in column fWheelHardpointFrontFwd

source

pub fn f_wheel_hardpoint_front_up(&self) -> f32

Get the data in column fWheelHardpointFrontUp

source

pub fn f_wheel_hardpoint_front_right(&self) -> f32

Get the data in column fWheelHardpointFrontRight

source

pub fn f_wheel_hardpoint_rear_fwd(&self) -> f32

Get the data in column fWheelHardpointRearFwd

source

pub fn f_wheel_hardpoint_rear_up(&self) -> f32

Get the data in column fWheelHardpointRearUp

source

pub fn f_wheel_hardpoint_rear_right(&self) -> f32

Get the data in column fWheelHardpointRearRight

source

pub fn f_input_turn_speed(&self) -> f32

Get the data in column fInputTurnSpeed

source

pub fn f_input_dead_turn_back_speed(&self) -> f32

Get the data in column fInputDeadTurnBackSpeed

source

pub fn f_input_accel_speed(&self) -> f32

Get the data in column fInputAccelSpeed

source

pub fn f_input_dead_accel_down_speed(&self) -> f32

Get the data in column fInputDeadAccelDownSpeed

source

pub fn f_input_decel_speed(&self) -> f32

Get the data in column fInputDecelSpeed

source

pub fn f_input_dead_decel_down_speed(&self) -> f32

Get the data in column fInputDeadDecelDownSpeed

source

pub fn f_input_slope_change_point_x(&self) -> f32

Get the data in column fInputSlopeChangePointX

source

pub fn f_input_initial_slope(&self) -> f32

Get the data in column fInputInitialSlope

source

pub fn f_input_dead_zone(&self) -> f32

Get the data in column fInputDeadZone

source

pub fn f_aero_air_density(&self) -> f32

Get the data in column fAeroAirDensity

source

pub fn f_aero_frontal_area(&self) -> f32

Get the data in column fAeroFrontalArea

source

pub fn f_aero_drag_coefficient(&self) -> f32

Get the data in column fAeroDragCoefficient

source

pub fn f_aero_lift_coefficient(&self) -> f32

Get the data in column fAeroLiftCoefficient

source

pub fn f_aero_extra_gravity(&self) -> f32

Get the data in column fAeroExtraGravity

source

pub fn f_boost_top_speed(&self) -> f32

Get the data in column fBoostTopSpeed

source

pub fn f_boost_cost_per_second(&self) -> f32

Get the data in column fBoostCostPerSecond

source

pub fn f_boost_accelerate_change(&self) -> f32

Get the data in column fBoostAccelerateChange

source

pub fn f_boost_damping_change(&self) -> f32

Get the data in column fBoostDampingChange

source

pub fn f_powerslide_neutral_angle(&self) -> f32

Get the data in column fPowerslideNeutralAngle

source

pub fn f_powerslide_torque_strength(&self) -> f32

Get the data in column fPowerslideTorqueStrength

source

pub fn i_powerslide_num_torque_applications(&self) -> i32

Get the data in column iPowerslideNumTorqueApplications

source

pub fn f_imagination_tank_size(&self) -> f32

Get the data in column fImaginationTankSize

source

pub fn f_skill_cost(&self) -> f32

Get the data in column fSkillCost

source

pub fn f_wreck_speed_base(&self) -> Option<f32>

Get the data in column fWreckSpeedBase

source

pub fn f_wreck_speed_percent(&self) -> Option<f32>

Get the data in column fWreckSpeedPercent

source

pub fn f_wreck_min_angle(&self) -> Option<f32>

Get the data in column fWreckMinAngle

source

pub fn audio_event_engine(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventEngine

source

pub fn audio_event_skid(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventSkid

source

pub fn audio_event_light_hit(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventLightHit

source

pub fn audio_speed_threshold_light_hit(&self) -> f32

Get the data in column AudioSpeedThresholdLightHit

source

pub fn audio_timeout_light_hit(&self) -> f32

Get the data in column AudioTimeoutLightHit

source

pub fn audio_event_heavy_hit(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventHeavyHit

source

pub fn audio_speed_threshold_heavy_hit(&self) -> f32

Get the data in column AudioSpeedThresholdHeavyHit

source

pub fn audio_timeout_heavy_hit(&self) -> f32

Get the data in column AudioTimeoutHeavyHit

source

pub fn audio_event_start(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventStart

source

pub fn audio_event_tread_concrete(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventTreadConcrete

source

pub fn audio_event_tread_sand(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventTreadSand

source

pub fn audio_event_tread_wood(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventTreadWood

source

pub fn audio_event_tread_dirt(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventTreadDirt

source

pub fn audio_event_tread_plastic(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventTreadPlastic

source

pub fn audio_event_tread_grass(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventTreadGrass

source

pub fn audio_event_tread_gravel(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventTreadGravel

source

pub fn audio_event_tread_mud(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventTreadMud

source

pub fn audio_event_tread_water(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventTreadWater

source

pub fn audio_event_tread_snow(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventTreadSnow

source

pub fn audio_event_tread_ice(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventTreadIce

source

pub fn audio_event_tread_metal(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventTreadMetal

source

pub fn audio_event_tread_leaves(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventTreadLeaves

source

pub fn audio_event_light_land(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventLightLand

source

pub fn audio_airtime_for_light_land(&self) -> f32

Get the data in column AudioAirtimeForLightLand

source

pub fn audio_event_heavy_land(&self) -> Option<&'a Latin1Str>

Get the data in column AudioEventHeavyLand

source

pub fn audio_airtime_for_heavy_land(&self) -> f32

Get the data in column AudioAirtimeForHeavyLand

source

pub fn b_wheels_visible(&self) -> Option<bool>

Get the data in column bWheelsVisible

Trait Implementations§

source§

impl<'a, 'b> Clone for VehiclePhysicsRow<'a, 'b>

source§

fn clone(&self) -> VehiclePhysicsRow<'a, 'b>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a, 'b> Serialize for VehiclePhysicsRow<'a, 'b>

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a, 'b> TypedRow<'a, 'b> for VehiclePhysicsRow<'a, 'b>

§

type Table = VehiclePhysicsTable<'a>

The table this row belongs to
source§

fn new(row: Row<'a>, table: &'b Self::Table) -> Self

Creates a new “typed” row from a “typed” table and a “raw” row
source§

fn get( table: &'b Self::Table, index_key: i32, key: i32, id_col: usize ) -> Option<Self>where Self: Sized,

Get a specific entry from the row by unique ID Read more
source§

impl<'a, 'b> Copy for VehiclePhysicsRow<'a, 'b>

Auto Trait Implementations§

§

impl<'a, 'b> RefUnwindSafe for VehiclePhysicsRow<'a, 'b>

§

impl<'a, 'b> Send for VehiclePhysicsRow<'a, 'b>

§

impl<'a, 'b> Sync for VehiclePhysicsRow<'a, 'b>

§

impl<'a, 'b> Unpin for VehiclePhysicsRow<'a, 'b>where 'a: 'b,

§

impl<'a, 'b> UnwindSafe for VehiclePhysicsRow<'a, 'b>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.