pub struct Flyer { /* private fields */ }Expand description
Flies synthetic flights, sharing each design’s supersonic drag table across its flights (it
takes about 0.2 s to build, docs/perf.md).
Implementations§
Source§impl Flyer
impl Flyer
Source§impl Flyer
impl Flyer
Sourcepub fn new(files: DesignFiles) -> Self
pub fn new(files: DesignFiles) -> Self
A flyer of the designs in files, with no tables built yet.
Sourcepub fn flight(&mut self, set: Set, index: u64) -> Result<Flight, SyntheticError>
pub fn flight(&mut self, set: Set, index: u64) -> Result<Flight, SyntheticError>
Flight index of set.
§Errors
SyntheticError if the draw can’t fly or its log can’t be written: a census counts
these, it doesn’t skip them.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Flyer
impl !UnwindSafe for Flyer
impl Freeze for Flyer
impl Send for Flyer
impl Sync for Flyer
impl Unpin for Flyer
impl UnsafeUnpin for Flyer
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