mz_ore::cast

Function i8_to_i8

Source
pub const fn i8_to_i8(from: i8) -> i8
Expand description

Casts [$from] to [$to].

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