pub const fn u8_to_i32(from: u8) -> i32
Expand description

Casts [$from] to [$to].

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