Function mz_ore::cast::i16_to_i16
source ยท pub const fn i16_to_i16(from: i16) -> i16
Expand description
Casts [$from
] to [$to
].
This is equivalent to the crate::cast::CastFrom
implementation but is
available as a const fn
.