for_mut

Function for_mut 

Source
pub fn for_mut<'a, A: ?Sized>() -> SameLayout<*const A, &'a mut A>
Expand description

A proof that any mutable reference has same layout as a raw pointer. FIXME: this is not const because of the very narrow formulation of https://github.com/rust-lang/rust/issues/57349