You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use bytes_of_mut to get &mut Vec<u8> from Vec<u32>, but it seems not supporting that:
error[E0277]: the trait bound `std::vec::Vec<u32>: bytemuck::pod::Pod` is not satisfied
<snip>
|
72 | let vec_u8 = bytemuck::bytes_of_mut(&mut vec_u32);
| ^^^^^^^^^^^ the trait `bytemuck::pod::Pod` is not implemented for `std::vec::Vec<u32>`
Is there a plan to support that?
The text was updated successfully, but these errors were encountered:
I'm trying to use
bytes_of_mut
to get&mut Vec<u8>
fromVec<u32>
, but it seems not supporting that:Is there a plan to support that?
The text was updated successfully, but these errors were encountered: