pub struct Trajectory {
pub detected_x: f64,
pub detected_y: f64,
pub projected_x: f64,
pub projected_y: f64,
pub equation_a: f64,
pub equation_b: f64,
pub equation_c: f64,
pub confidence: f32,
}Expand description
A single detected trajectory.
Fields§
§detected_x: f64§detected_y: f64§projected_x: f64§projected_y: f64§equation_a: f64Coefficients of the parabola y = a x² + b x + c.
equation_b: f64§equation_c: f64§confidence: f32Trait Implementations§
Source§impl Clone for Trajectory
impl Clone for Trajectory
Source§fn clone(&self) -> Trajectory
fn clone(&self) -> Trajectory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Trajectory
impl Debug for Trajectory
Source§impl PartialEq for Trajectory
impl PartialEq for Trajectory
Source§fn eq(&self, other: &Trajectory) -> bool
fn eq(&self, other: &Trajectory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Trajectory
impl StructuralPartialEq for Trajectory
Auto Trait Implementations§
impl Freeze for Trajectory
impl RefUnwindSafe for Trajectory
impl Send for Trajectory
impl Sync for Trajectory
impl Unpin for Trajectory
impl UnsafeUnpin for Trajectory
impl UnwindSafe for Trajectory
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