pub trait FlagClass: Sized + Clone + Copy + Hash + Eq {
    fn name(&self) -> Cow<'_, str>;
    fn id(&self) -> u32;
}

Required Methods

Unique identifier for this FlagClass.

MUST NOT be 0. MUST be in the range [1, 0x7fff_ffff]

Implementors