Function pulp::cast_lossy
source · pub fn cast_lossy<T: NoUninit, U: AnyBitPattern>(value: T) -> U
Expand description
Safe lossy transmute function, where the destination type may be smaller than the source type.
This property is checked at compile time.