span direction (sign) now works

This commit is contained in:
2025-08-11 02:41:14 -04:00
parent fa930180c1
commit 23a5ccd05e
4 changed files with 34 additions and 6 deletions

View File

@@ -40,6 +40,15 @@ macro_rules! impl_op {
}
}
}
impl const $op<$T> for f32 {
type Output = $T;
fn $fn(self, rhs: $T) -> Self::Output {
$T {
$($field: self.$fn(rhs.$field),)*
}
}
}
impl $opa<f32> for $T {
fn $fna(&mut self, rhs: f32) {
$(self.$field.$fna(rhs);)*