The Rust Programming Language Forum
Newtype problem: reinterpret_cast a &[Bar] to &[Foo]
help
jbe
April 14, 2022, 1:19pm
13
I
started a new thread
where I'm asking about how wide-pointer casts are defined.
show post in topic
Related topics
Topic
Replies
Views
Activity
Casting wide-pointers
18
3096
July 14, 2022
Have there been any proposals for improved ergnomics with #[repr(transparent)] newtypes
help
6
599
September 19, 2020
Convert Arc<Foo> to Arc<Bar> if Bar is a newtype wrapper of Foo
2
137
July 1, 2024
Transmute() with container types
help
14
662
July 13, 2022
Vec layout / transmute
help
5
730
June 15, 2022