_From @gnzlbg on October 26, 2017 9:18_ Say I want to implement some num traits for: ```rust struct R64(f64); ``` Is there a macro in `num_derive` to do this? Currently FromPrimitive and ToPrimitive only work on enums. _Copied from original issue: rust-num/num#341_
From @gnzlbg on October 26, 2017 9:18
Say I want to implement some num traits for:
Is there a macro in
num_deriveto do this? Currently FromPrimitive and ToPrimitive only work on enums.Copied from original issue: rust-num/num#341