pub trait FlagClass:
Sized
+ Clone
+ Copy
+ Hash
+ Eq {
// Required methods
fn name(&self) -> Cow<'_, str>;
fn id(&self) -> FlagClassId;
}
Required Methods§
fn name(&self) -> Cow<'_, str>
sourcefn id(&self) -> FlagClassId
fn id(&self) -> FlagClassId
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.