Struct fastsim_core::simdrive::simdrive_impl::CoastTrajectory
source · pub struct CoastTrajectory {
pub found_trajectory: bool,
pub distance_to_stop_via_coast_m: f64,
pub start_idx: usize,
pub speeds_m_per_s: Option<Vec<f64>>,
pub distance_to_brake_m: Option<f64>,
}Fields§
§found_trajectory: bool§distance_to_stop_via_coast_m: f64§start_idx: usize§speeds_m_per_s: Option<Vec<f64>>§distance_to_brake_m: Option<f64>Auto Trait Implementations§
impl Freeze for CoastTrajectory
impl RefUnwindSafe for CoastTrajectory
impl Send for CoastTrajectory
impl Sync for CoastTrajectory
impl Unpin for CoastTrajectory
impl UnwindSafe for CoastTrajectory
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more