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