aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/gen_program.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-03 01:17:21 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-03 01:17:21 +0800
commit184cee5d04945b6f467d8c041b2c27df9eb1fb9b (patch)
tree7b62d17da9482dbeadaaa44df206b1fd8193c5c1 /mingling/src/gen_program.rs
parentb0dbb6d359634928fb50f62338cd79ee411514c5 (diff)
fix: add generic program entry point variant
Diffstat (limited to 'mingling/src/gen_program.rs')
-rw-r--r--mingling/src/gen_program.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mingling/src/gen_program.rs b/mingling/src/gen_program.rs
index 18d9117..aa0c4b5 100644
--- a/mingling/src/gen_program.rs
+++ b/mingling/src/gen_program.rs
@@ -23,6 +23,8 @@ pub struct Entry {
///
/// It contains the IDs of all types for this program, registered by the `register_type!` macro.
pub enum ThisProgram {
+ /// The generic program entry point.
+ Entry,
/// Indicates that no matching renderer was found for the given output.
ErrorRendererNotFound,
/// Indicates that no matching dispatcher was found for the given arguments.