summaryrefslogtreecommitdiff
path: root/mingling_core/src/any/group.rs
blob: 04701f26a7c00203a854dccc86197241731d851c (plain) (blame)
1
2
3
4
5
/// Used to mark a type with a unique enum ID, assisting dynamic dispatch
pub trait Groupped<Group> {
    /// Returns the specific enum value representing its ID within that enum
    fn member_id() -> Group;
}