You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It could be nice having a dbg-like macro that can quickly print a quantity in the desired unit with a call like qdbg!(vel -> m/s)
which would effectively expand to something like println!("{} m/s", vel.in_meters_per_second());
Should be easy to implement, if one defines the functional macro from within the procedural macro (which sounds scary, but probably isnt)
The text was updated successfully, but these errors were encountered:
It could be nice having a
dbg
-like macro that can quickly print a quantity in the desired unit with a call likeqdbg!(vel -> m/s)
which would effectively expand to something like
println!("{} m/s", vel.in_meters_per_second());
Should be easy to implement, if one defines the functional macro from within the procedural macro (which sounds scary, but probably isnt)
The text was updated successfully, but these errors were encountered: