Function nonnegative_i128_to_u128

Source
pub fn nonnegative_i128_to_u128(value: i128) -> Option<u128>
Expand description

Convert i128 to u128, rejecting negative values.