```let y = u32::from_ne_bytes(x.to_bytes_ne()[0..4].try_into().unwrap());``` and the like.
let y = u32::from_ne_bytes(x.to_bytes_ne()[0..4].try_into().unwrap());and the like.