pub const fn u32_to_usize(from: u32) -> usize
Expand description
Casts [$from
] to [$to
].
This is equivalent to the crate::cast::CastFrom
implementation but is
available as a const fn
.
pub const fn u32_to_usize(from: u32) -> usize
Casts [$from
] to [$to
].
This is equivalent to the crate::cast::CastFrom
implementation but is
available as a const fn
.