struct State {
todo: usize,
from: usize,
time: u32,
pressure: u32,
}
Expand description
State of a single exploration path through the valves.
todo
Binary mask of unopened valves. For example if there are 3 unopened valves left this could look like11100
.from
Index of current valve.time
The remaining time left.pressure
Total pressure released from all opened valves including future extrapolated flow.
Fields§
§todo: usize
§from: usize
§time: u32
§pressure: u32
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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