mz_ore::cast

Function i16_to_i64

Source
pub const fn i16_to_i64(from: i16) -> i64
Expand description

Casts [$from] to [$to].

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