pub fn cast<T: NoUninit, U: AnyBitPattern>(value: T) -> UExpand description
Safe transmute function.
This function asserts at compile time that the two types have the same size.
pub fn cast<T: NoUninit, U: AnyBitPattern>(value: T) -> USafe transmute function.
This function asserts at compile time that the two types have the same size.