pub struct Track { /* private fields */ }Expand description
Keeps a flight’s samples as it flies: an observer for hpr_sim::Simulation::run and the
flight builder’s fly_with.
Implementations§
Source§impl Track
impl Track
Sourcepub fn simulated(
self,
environment: &Environment,
) -> Result<Simulated, ResidualsError>
pub fn simulated( self, environment: &Environment, ) -> Result<Simulated, ResidualsError>
The flight kept, in environment, the air it flew in.
§Errors
ResidualsError if the flight kept no samples, or the day’s air doesn’t reach it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Track
impl RefUnwindSafe for Track
impl Send for Track
impl Sync for Track
impl Unpin for Track
impl UnsafeUnpin for Track
impl UnwindSafe for Track
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