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

Required Methods§

source

fn name(&self) -> Cow<'_, str>

source

fn id(&self) -> u32

Unique identifier for this FlagClass.

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

Object Safety§

This trait is not object safe.

Implementors§