1
2
3
4
5
6
7
8
9
10
11
pub use strum::{IntoEnumIterator, EnumCount};

/// The `defindex` value for an item attribute.
pub trait Attribute {
    const DEFINDEX: u32;
}

/// The `defindex` values for a set of item attributes.
pub trait Attributes {
    const DEFINDEX: &'static [u32];
}