utils

Trait Puzzle

Source
pub trait Puzzle {
    const YEAR: Year;
    const DAY: Day;
}
Expand description

Common trait implemented by puzzles to provide Year and Day.

year! implements this automatically.

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§