diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-01 20:14:56 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-01 20:16:17 +0800 |
| commit | f1ed18e668a830646fe507ee33c4b010a1690342 (patch) | |
| tree | 6d13b5ca65ec4df6b8df1c03df3c96301d435bbf /mingling_core/src/any | |
| parent | 227e710fe716c8901ee02e670a57fb70eb3f222b (diff) | |
Add documentation for mingling_core
Diffstat (limited to 'mingling_core/src/any')
| -rw-r--r-- | mingling_core/src/any/group.rs | 2 |
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; } |
