pub trait FlagWrite: Sized + Clone + Copy {
    type FlagType: Flag;
    type FlagClass: FlagClass;

    fn name(&self) -> Cow<'_, str>;
    fn class(&self) -> Option<Self::FlagClass>;
    fn id(&self) -> u32;
    fn flags_written(&self) -> Vec<Self::FlagType>;
}

Required Associated Types

Required Methods

Unique identifier for this FlagWrite.

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

Implementors