Is there a trait "As"?

I also struggle a bit when writing methods that shall be generic over f32 and f64. From a previous post of me:

I decided to implement my own trait in radiorust for my particular use case: radiorust::numbers::Float.