pub struct Solver {
pub day: Day,
pub year: Year,
pub part_one: SolverPart,
pub part_two: SolverPart,
}Expand description
A Solver is runnable Advent of Code puzzle solution for a given year and
day.
Fields§
§day: DayAdvent of Code puzzle day.
year: YearAdvent of Code puzzle year.
part_one: SolverPartA function that solves part one.
part_two: SolverPartA function that solves part two.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Solver
impl RefUnwindSafe for Solver
impl Send for Solver
impl Sync for Solver
impl Unpin for Solver
impl UnsafeUnpin for Solver
impl UnwindSafe for Solver
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