pub fn unsafe_array_transmute<C: Config, S, T>(arr: Array<C, S>) -> Array<C, T>
Expand description
Unsafe transmute from array of one type to another.
SAFETY: only use this if the memory layout of types S
and T
align.
Only usable for Array::Dyn
, will panic otherwise.