pub struct Simulated { /* private fields */ }Expand description
A simulated flight, its heights both as climbed and as a barometer on the pad reads them.
Implementations§
Source§impl Simulated
impl Simulated
Sourcepub fn new(
samples: Vec<TruthSample>,
environment: &Environment,
) -> Result<Self, ResidualsError>
pub fn new( samples: Vec<TruthSample>, environment: &Environment, ) -> Result<Self, ResidualsError>
A flight of samples, in time order, flown in environment.
§Errors
ResidualsError if there are no samples, or the day’s air doesn’t reach them.
Sourcepub fn top_reading_m(&self, kind: HeightKind) -> Option<f64>
pub fn top_reading_m(&self, kind: HeightKind) -> Option<f64>
The flight’s apogee as a sensor of kind reads it, m above the pad: its reading at its
highest moment, a barometer’s of the day’s pressure there or the height climbed. None
where it holds no moment, never climbed, is highest at its last, so may climb on, or reads
no number there.
Trait Implementations§
impl StructuralPartialEq for Simulated
Auto Trait Implementations§
impl Freeze for Simulated
impl RefUnwindSafe for Simulated
impl Send for Simulated
impl Sync for Simulated
impl Unpin for Simulated
impl UnsafeUnpin for Simulated
impl UnwindSafe for Simulated
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