This commit is contained in:
Meghdad committed 2026-11-01 19:43:03 +03:30
commit 22fe85bb92
247 files changed
+35538

No files matched your search

@@ -0,0 +1,20 @@
use std::collections::HashSet;
use std::default::Default;
use std::ops::Deref;
use t4rust_derive::Template;
use tsproto_structs::book::*;
#[derive(Template)]
#[TemplatePath = "build/Events.tt"]
#[derive(Debug)]
pub struct EventDeclarations<'a>(&'a BookDeclarations);
impl<'a> Deref for EventDeclarations<'a> {
type Target = BookDeclarations;
fn deref(&self) -> &Self::Target { self.0 }
}
impl Default for EventDeclarations<'static> {
fn default() -> Self { EventDeclarations(&DATA) }
}