pub struct Run<'r> {
pub runner: &'r Runner,
pub part: &'r mut Part,
pub program: Program,
pub inputs: Settings,
}Expand description
A program, with its inputs, and the part it builds: run once, at its own state, for a solve to make its constraints again of at every state it tries. A solve leaves the part so; a caller keeping the state found runs the program there.
Fields§
§runner: &'r Runner§part: &'r mut Part§program: Program§inputs: SettingsAuto Trait Implementations§
impl<'r> !RefUnwindSafe for Run<'r>
impl<'r> !Send for Run<'r>
impl<'r> !Sync for Run<'r>
impl<'r> !UnwindSafe for Run<'r>
impl<'r> Freeze for Run<'r>
impl<'r> Unpin for Run<'r>
impl<'r> UnsafeUnpin for Run<'r>
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