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]
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.