pub struct FfiWheelPhysicsControl { /* private fields */ }Implementations§
Source§impl FfiWheelPhysicsControl
impl FfiWheelPhysicsControl
pub fn get_axle_type(&self) -> u8
pub fn get_wheel_radius(&self) -> f32
pub fn get_wheel_width(&self) -> f32
pub fn get_wheel_mass(&self) -> f32
pub fn get_cornering_stiffness(&self) -> f32
pub fn get_friction_force_multiplier(&self) -> f32
pub fn get_side_slip_modifier(&self) -> f32
pub fn get_slip_threshold(&self) -> f32
pub fn get_skid_threshold(&self) -> f32
pub fn get_max_steer_angle(&self) -> f32
pub fn get_affected_by_steering(&self) -> bool
pub fn get_affected_by_brake(&self) -> bool
pub fn get_affected_by_handbrake(&self) -> bool
pub fn get_affected_by_engine(&self) -> bool
pub fn get_abs_enabled(&self) -> bool
pub fn get_traction_control_enabled(&self) -> bool
pub fn get_max_wheelspin_rotation(&self) -> f32
pub fn get_external_torque_combine_method(&self) -> u8
pub fn get_suspension_max_raise(&self) -> f32
pub fn get_suspension_max_drop(&self) -> f32
pub fn get_suspension_damping_ratio(&self) -> f32
pub fn get_wheel_load_ratio(&self) -> f32
pub fn get_spring_rate(&self) -> f32
pub fn get_spring_preload(&self) -> f32
pub fn get_suspension_smoothing(&self) -> i32
pub fn get_rollbar_scaling(&self) -> f32
pub fn get_sweep_shape(&self) -> u8
pub fn get_sweep_type(&self) -> u8
pub fn get_max_brake_torque(&self) -> f32
pub fn get_max_hand_brake_torque(&self) -> f32
pub fn get_wheel_index(&self) -> i32
pub fn get_offset(&self) -> FfiVector3D
pub fn get_suspension_axis(&self) -> FfiVector3D
pub fn get_suspension_force_offset(&self) -> FfiVector3D
pub fn get_location(&self) -> FfiLocation
pub fn get_old_location(&self) -> FfiLocation
pub fn get_velocity(&self) -> FfiLocation
pub fn get_lateral_slip_graph<'a>(&'a self) -> &'a CxxVector<Vector2D>
pub fn set_axle_type(self: Pin<&mut Self>, v: u8)
pub fn set_offset(self: Pin<&mut Self>, v: &FfiVector3D)
pub fn set_wheel_radius(self: Pin<&mut Self>, v: f32)
pub fn set_wheel_width(self: Pin<&mut Self>, v: f32)
pub fn set_wheel_mass(self: Pin<&mut Self>, v: f32)
pub fn set_cornering_stiffness(self: Pin<&mut Self>, v: f32)
pub fn set_friction_force_multiplier(self: Pin<&mut Self>, v: f32)
pub fn set_side_slip_modifier(self: Pin<&mut Self>, v: f32)
pub fn set_slip_threshold(self: Pin<&mut Self>, v: f32)
pub fn set_skid_threshold(self: Pin<&mut Self>, v: f32)
pub fn set_max_steer_angle(self: Pin<&mut Self>, v: f32)
pub fn set_affected_by_steering(self: Pin<&mut Self>, v: bool)
pub fn set_affected_by_brake(self: Pin<&mut Self>, v: bool)
pub fn set_affected_by_handbrake(self: Pin<&mut Self>, v: bool)
pub fn set_affected_by_engine(self: Pin<&mut Self>, v: bool)
pub fn set_abs_enabled(self: Pin<&mut Self>, v: bool)
pub fn set_traction_control_enabled(self: Pin<&mut Self>, v: bool)
pub fn set_max_wheelspin_rotation(self: Pin<&mut Self>, v: f32)
pub fn set_external_torque_combine_method(self: Pin<&mut Self>, v: u8)
pub fn set_lateral_slip_graph(self: Pin<&mut Self>, v: &CxxVector<Vector2D>)
pub fn set_suspension_axis(self: Pin<&mut Self>, v: &FfiVector3D)
pub fn set_suspension_force_offset(self: Pin<&mut Self>, v: &FfiVector3D)
pub fn set_suspension_max_raise(self: Pin<&mut Self>, v: f32)
pub fn set_suspension_max_drop(self: Pin<&mut Self>, v: f32)
pub fn set_suspension_damping_ratio(self: Pin<&mut Self>, v: f32)
pub fn set_wheel_load_ratio(self: Pin<&mut Self>, v: f32)
pub fn set_spring_rate(self: Pin<&mut Self>, v: f32)
pub fn set_spring_preload(self: Pin<&mut Self>, v: f32)
pub fn set_suspension_smoothing(self: Pin<&mut Self>, v: i32)
pub fn set_rollbar_scaling(self: Pin<&mut Self>, v: f32)
pub fn set_sweep_shape(self: Pin<&mut Self>, v: u8)
pub fn set_sweep_type(self: Pin<&mut Self>, v: u8)
pub fn set_max_brake_torque(self: Pin<&mut Self>, v: f32)
pub fn set_max_hand_brake_torque(self: Pin<&mut Self>, v: f32)
pub fn set_wheel_index(self: Pin<&mut Self>, v: i32)
pub fn set_location(self: Pin<&mut Self>, v: &FfiLocation)
pub fn set_old_location(self: Pin<&mut Self>, v: &FfiLocation)
pub fn set_velocity(self: Pin<&mut Self>, v: &FfiLocation)
Trait Implementations§
Source§impl Drop for FfiWheelPhysicsControl
impl Drop for FfiWheelPhysicsControl
Source§fn drop(self: &mut FfiWheelPhysicsControl)
fn drop(self: &mut FfiWheelPhysicsControl)
Synthesized destructor.
Source§impl ExternType for FfiWheelPhysicsControl
impl ExternType for FfiWheelPhysicsControl
Source§impl MakeCppStorage for FfiWheelPhysicsControl
impl MakeCppStorage for FfiWheelPhysicsControl
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut FfiWheelPhysicsControl
unsafe fn allocate_uninitialized_cpp_storage() -> *mut FfiWheelPhysicsControl
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
Source§unsafe fn free_uninitialized_cpp_storage(arg0: *mut FfiWheelPhysicsControl)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut FfiWheelPhysicsControl)
Frees a C++ allocation which has not yet
had a constructor called. Read more
Source§impl MoveNew for FfiWheelPhysicsControl
impl MoveNew for FfiWheelPhysicsControl
Source§unsafe fn move_new(
other: Pin<MoveRef<'_, FfiWheelPhysicsControl>>,
this: Pin<&mut MaybeUninit<FfiWheelPhysicsControl>>,
)
unsafe fn move_new( other: Pin<MoveRef<'_, FfiWheelPhysicsControl>>, this: Pin<&mut MaybeUninit<FfiWheelPhysicsControl>>, )
Synthesized move constructor.
impl UniquePtrTarget for FfiWheelPhysicsControl
impl VectorElement for FfiWheelPhysicsControl
impl WeakPtrTarget for FfiWheelPhysicsControl
Auto Trait Implementations§
impl !Freeze for FfiWheelPhysicsControl
impl !RefUnwindSafe for FfiWheelPhysicsControl
impl !Send for FfiWheelPhysicsControl
impl !Sync for FfiWheelPhysicsControl
impl !Unpin for FfiWheelPhysicsControl
impl UnsafeUnpin for FfiWheelPhysicsControl
impl UnwindSafe for FfiWheelPhysicsControl
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