#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
#[repr(u8)]
pub enum Category {{
{variants}
}}
impl Category {{
pub const VALUES: [Category; 7] = [
{associatedconstant_VALUES}
];
#[must_use]
#[inline]
pub const fn dyes(self) -> &'static [Dye] {{
use Dye::*;
match self {{
{method_dyes}
}}
}}
#[must_use]
#[inline]
pub const fn color(self) -> Rgb {{
match self {{
{method_color}
}}
}}
#[must_use]
#[inline]
pub const fn short_name(self) -> &'static str {{
match self {{
{method_short_names}
}}
}}
}}