Location
Primitive type pointer
core::ptr::read_unaligned
core::ptr::write_unaligned
Summary
The above documentation pages suggest using ptr::addr_of and ptr::addr_of_mut respectively, but the pages for those macros recommend using &raw const and &raw mut instead.
Location
Primitive type pointer
core::ptr::read_unalignedcore::ptr::write_unalignedSummary
The above documentation pages suggest using
ptr::addr_ofandptr::addr_of_mutrespectively, but the pages for those macros recommend using&raw constand&raw mutinstead.