Struct advent_of_code_2021::day_23::State [−][src]
Expand description
Wrapper for a Burrow state with the cost to reach that state. Implements Ord in reverse order so that we can use
Rust’s built in max-BinaryHeap as a min-heap.
Fields
cost: usizeThe cost to reach this burrow state
burrow: BurrowThe burrow state
Implementations
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
