summaryrefslogtreecommitdiff
path: root/mingling_core/src/any
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_core/src/any')
-rw-r--r--mingling_core/src/any/group.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mingling_core/src/any/group.rs b/mingling_core/src/any/group.rs
index 29d6a48..04701f2 100644
--- a/mingling_core/src/any/group.rs
+++ b/mingling_core/src/any/group.rs
@@ -1,3 +1,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;
}