pub trait CEnum: From<Self::Inner> + Into<Self::Inner> {
type Inner;
// Required method
fn variant_label(&self) -> Option<&'static str>
where Self::Inner: PartialEq;
}
Expand description
A trait that is automatically implemented for all C enums.