pub trait Question:
Copy
+ Eq
+ Debug
+ 'static {
type Answer: Answer<Question = Self>;
const ALL: &'static [Self];
// Required method
fn name(self) -> &'static str;
// Provided method
fn slot(self) -> u16 { ... }
}Expand description
One question a kind owes an answer to, beyond the questions every kind owes.
Required Associated Constants§
Required Associated Types§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".