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