Function cluFullTransmute::inline_transmute_or_panic

source ·
pub const unsafe fn inline_transmute_or_panic<D, To>(in_data: D) -> To
Available on crate features inline and support_size_check_transmute only.
Expand description

A inline constant function reinterprets the bits of a value of one type as another type.

§Safety

If the sizes do not match, a panic arises.