Function gemm_common::simd::cast

source ·
pub fn cast<T, U>(value: T) -> Uwhere
    T: NoUninit,
    U: AnyBitPattern,
Expand description

Safe transmute function.

This function asserts at compile time that the two types have the same size.