[−][src]Struct aoc_next::solution::Solution
A solution for a specific exercise.
Fields
day: u8
The day of the exercise; used to determine the input to use.
parser: P
The parser for the input.
solver: Solver<S, I, O>
The solver of the exercise.
Trait Implementations
impl<P, S, I, O: Display> Solvable for Solution<P, S, I, O> where
P: Parsing<I>,
S: Fn(I) -> O,
[src]
P: Parsing<I>,
S: Fn(I) -> O,
Auto Trait Implementations
impl<P, S, I, O> RefUnwindSafe for Solution<P, S, I, O> where
I: RefUnwindSafe,
P: RefUnwindSafe,
S: RefUnwindSafe,
I: RefUnwindSafe,
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<P, S, I, O> Send for Solution<P, S, I, O> where
I: Send,
P: Send,
S: Send,
I: Send,
P: Send,
S: Send,
impl<P, S, I, O> Sync for Solution<P, S, I, O> where
I: Sync,
P: Sync,
S: Sync,
I: Sync,
P: Sync,
S: Sync,
impl<P, S, I, O> Unpin for Solution<P, S, I, O> where
I: Unpin,
P: Unpin,
S: Unpin,
I: Unpin,
P: Unpin,
S: Unpin,
impl<P, S, I, O> UnwindSafe for Solution<P, S, I, O> where
I: UnwindSafe,
P: UnwindSafe,
S: UnwindSafe,
I: UnwindSafe,
P: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,