pub struct PacketMotionData {Show 17 fields
pub header: PacketHeader,
pub motion_data: Vec<CarMotionData>,
pub suspension_position: Wheel<f32>,
pub suspension_velocity: Wheel<f32>,
pub suspension_acceleration: Wheel<f32>,
pub wheel_speed: Wheel<f32>,
pub wheel_slip: Wheel<f32>,
pub local_velocity_x: f32,
pub local_velocity_y: f32,
pub local_velocity_z: f32,
pub angular_velocity_x: f32,
pub angular_velocity_y: f32,
pub angular_velocity_z: f32,
pub angular_acceleration_x: f32,
pub angular_acceleration_y: f32,
pub angular_acceleration_z: f32,
pub front_wheels_angle: f32,
}
Fields§
§header: PacketHeader
§motion_data: Vec<CarMotionData>
§suspension_position: Wheel<f32>
§suspension_velocity: Wheel<f32>
§suspension_acceleration: Wheel<f32>
§wheel_speed: Wheel<f32>
§wheel_slip: Wheel<f32>
§local_velocity_x: f32
§local_velocity_y: f32
§local_velocity_z: f32
§angular_velocity_x: f32
§angular_velocity_y: f32
§angular_velocity_z: f32
§angular_acceleration_x: f32
§angular_acceleration_y: f32
§angular_acceleration_z: f32
§front_wheels_angle: f32
Trait Implementations§
Source§impl Clone for PacketMotionData
impl Clone for PacketMotionData
Source§fn clone(&self) -> PacketMotionData
fn clone(&self) -> PacketMotionData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PacketMotionData
impl Debug for PacketMotionData
Source§impl PartialEq for PacketMotionData
impl PartialEq for PacketMotionData
impl Eq for PacketMotionData
impl StructuralPartialEq for PacketMotionData
Auto Trait Implementations§
impl Freeze for PacketMotionData
impl RefUnwindSafe for PacketMotionData
impl Send for PacketMotionData
impl Sync for PacketMotionData
impl Unpin for PacketMotionData
impl UnwindSafe for PacketMotionData
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