wip: compiles and runs (not enabled yet)

This commit is contained in:
🪞👃🪞 2025-01-04 11:19:37 +01:00
parent ac3827b8f3
commit 98d2107e4e
15 changed files with 440 additions and 357 deletions

View file

@ -27,7 +27,7 @@ macro_rules! transform_xy_unit {
}
}
impl<E: Engine, T: Content<E>> Content<E> for $Enum<E::Unit, T> {
fn content (&self) -> impl Content<E> {
fn content (&self) -> impl Render<E> {
Some(match self {
Self::X(_, content) => content,
Self::Y(_, content) => content,