pub trait Spec: Sized + 'static { const SPEC_ID: SpecId; // Provided method fn enabled(spec_id: SpecId) -> bool { ... } }
The specification ID.
Returns true if the given specification ID is enabled in this spec.
true