If 'as' does not work you can Implement Into
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Transmutting a u32 array to a u8 array | 20 | 7344 | January 12, 2023 | |
|
Converting String to *mut i8: Understanding the problem
|
19 | 9253 | October 13, 2020 | |
| Re-interpret slice of bytes (e.g. [u8]) as slice of [f32] | 17 | 9569 | February 10, 2020 | |
|
Usize as &[u8], Vec<f32> as &[u8]
|
19 | 6894 | May 3, 2020 | |
|
Transmute &[u32] to &[u8]?
|
7 | 2504 | November 22, 2021 |