rendy_util
pub fn cast_cow<T: Copy>(cow: Cow<[T]>) -> Cow<[u8]>
Cast cow of some arbitrary type into cow of bytes. Can lead to UB if allocator changes. Use with caution. TODO: Replace with something safer.
cow