mz_ore::cast

Function u32_to_i128

Source
pub const fn u32_to_i128(from: u32) -> i128
Expand description

Casts [$from] to [$to].

This is equivalent to the crate::cast::CastFrom implementation but is available as a const fn.