pub trait PuzzleExamples<P1: Debug + Display + 'static, P2: Debug + Display + 'static> {
const EXAMPLES: &'static [(&'static str, Option<P1>, Option<P2>)];
}
Expand description
Trait implemented by puzzles to provide example inputs and answers.
examples!
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.