pub struct Outcome<T: Display> {
pub part_one: Option<T>,
pub part_two: Option<T>,
pub timings: Timings,
pub day: u8,
}
Expand description
Represents the final product of a Solution
.
Fields§
§part_one: Option<T>
The computed answer to part one, if any.
part_two: Option<T>
The computer answer to part two, if any.
timings: Timings
Benchmark timing data.
day: u8
The day of the source Solution
.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Outcome<T>where
T: Freeze,
impl<T> RefUnwindSafe for Outcome<T>where
T: RefUnwindSafe,
impl<T> Send for Outcome<T>where
T: Send,
impl<T> Sync for Outcome<T>where
T: Sync,
impl<T> Unpin for Outcome<T>where
T: Unpin,
impl<T> UnwindSafe for Outcome<T>where
T: UnwindSafe,
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