pub struct VehicleParamsPanel {Show 18 fields
pub mass: f32,
pub wheelbase: f32,
pub track_width: f32,
pub com_height: f32,
pub engine_type: EngineType,
pub max_steering_angle: f32,
pub brake_force_total: f32,
pub brake_bias_front: f32,
pub abs: bool,
pub tcs: bool,
pub esc: bool,
pub diff_type_front: String,
pub diff_type_rear: String,
pub aero_drag: f32,
pub downforce: f32,
pub show_suspension: bool,
pub show_tire_forces: bool,
pub show_rpm: bool,
}Fields§
§mass: f32§wheelbase: f32§track_width: f32§com_height: f32§engine_type: EngineType§max_steering_angle: f32§brake_force_total: f32§brake_bias_front: f32§abs: bool§tcs: bool§esc: bool§diff_type_front: String§diff_type_rear: String§aero_drag: f32§downforce: f32§show_suspension: bool§show_tire_forces: bool§show_rpm: boolTrait Implementations§
Source§impl Clone for VehicleParamsPanel
impl Clone for VehicleParamsPanel
Source§impl Debug for VehicleParamsPanel
impl Debug for VehicleParamsPanel
Auto Trait Implementations§
impl Freeze for VehicleParamsPanel
impl RefUnwindSafe for VehicleParamsPanel
impl Send for VehicleParamsPanel
impl Sync for VehicleParamsPanel
impl Unpin for VehicleParamsPanel
impl UnsafeUnpin for VehicleParamsPanel
impl UnwindSafe for VehicleParamsPanel
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.