The Rust Programming Language Forum
Impossible to blackbox copy T -> unaligned [u8]?
alice
July 11, 2021, 9:26am
28
Pushing a trait object would be equivalent to pushing the underlying type behind the trait object.
2 Likes
Push / pop struts into Buffer, part 2
show post in topic
Related Topics
Topic
Replies
Views
Activity
T:copy, slice, copy, UB?
9
390
October 23, 2022
Is transmuting to [u8] always sound?
help
7
514
April 26, 2021
Is it UB to std::ptr::copy padding bytes?
7
801
August 21, 2022
Writing `&[u8]` to `Box<[MaybeUninit<u8>]>`
help
3
626
January 18, 2021
Can bytes become undef just from casting?
10
712
September 3, 2022