pub trait CastFloat { // Required methods fn round_to_i32(self) -> i32; fn trunc_to_i32(self) -> i32; }