Skip to main content

luaur_code_gen/
traits.rs

1//! Shared behavior traits for the assembly builders.
2//!
3//! C++ templates over `AssemblyBuilder` (X64/A64) call `build.logAppend(...)`;
4//! the Rust translation type-erases that capability behind this trait.
5
6pub trait LogAppend {
7    fn log_append(&mut self, args: core::fmt::Arguments<'_>);
8}