Function mz_ore::cast::i8_to_i16

source ยท
pub const fn i8_to_i16(from: i8) -> i16
Expand description

Casts [$from] to [$to].

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