pub const fn u16_to_u64(from: u16) -> u64
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 u16_to_u64(from: u16) -> u64
Casts [$from
] to [$to
].
This is equivalent to the crate::cast::CastFrom
implementation but is
available as a const fn
.