pub struct Decisions { /* private fields */ }
Expand description
A helper struct to assist with iterating through the possible choices of path.
We are essentially counting in base 3. For simplicity, we’re using an array of 20 usize
integers.
To be cleaner, this should probably implement Iterator from the standard library.
Create a new decision iterator.
Return the current value of the array representation of our path.
Increment to the next path.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.