Files
VoelinClient/crates/proto/ts-bookkeeping/build/events.rs
T
Claude 7b6959c4cc vendor: import ReSpeak/tsclientlib@ee3bc6f
Unmodified copy of the tsclientlib workspace crates (MIT OR Apache-2.0)
with the tsdeclarations submodule (83cb8a9) flattened into plain files.
See crates/proto/UPSTREAM.md for the path mapping.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
2026-09-25 12:46:11 +00:00

21 lines
493 B
Rust

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) }
}