bbbc2bd1d7
This includes new conditional methods `ToPrimitive::{to_i128,to_u128}` and `FromPrimitive::{from_i128,from_u128}`. Since features can only be additive, these methods must not cause a breaking change to anyone when enabled -- thus they have a default implementation that converts through 64-bit values. Types that can do better with a full 128-bit integer, like bigint or floating-point, will probably want to override these. |
||
---|---|---|
.. | ||
cast.rs |