Function half::slice::from_bits [−][src]
pub fn from_bits(bits: &[u16]) -> &[f16]
👎 Deprecated since 1.4.0:
use HalfBitsSliceExt::reinterpret_cast
instead
Reinterpret a slice of u16
bits as a slice of f16
numbers.
The transmuted slice has the same life time as the original.