pub trait OptionGroup: 'static {
const NAME: &'static str;
const DOC: &'static str;
// Provided method
fn type_id() -> TypeId
where Self: Sized { ... }
}Expand description
Compile-time declaration of one option group. Each group
is a unit struct (typically generated by the crate::groups!
macro) implementing this trait.
Required Associated Constants§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".