idek stuff like stack

This commit is contained in:
2025-08-15 22:59:58 -04:00
parent a7dfacb83e
commit f4aef3a983
15 changed files with 138 additions and 42 deletions

View File

@@ -26,7 +26,7 @@ macro_rules! impl_op {
}
}
}
impl $opa for $T {
impl const $opa for $T {
fn $fna(&mut self, rhs: Self) {
$(self.$field.$fna(rhs.$field);)*
}
@@ -49,7 +49,7 @@ macro_rules! impl_op {
}
}
}
impl $opa<f32> for $T {
impl const $opa<f32> for $T {
fn $fna(&mut self, rhs: f32) {
$(self.$field.$fna(rhs);)*
}