Pointers and references have the same layout. Mutability of the pointer or reference does not change the layout.
Does this mean that I can cast *const &mut [T] to *const *const [T], right? And the length of the slice is guaranteed to be at the same offset for both of them (say 8)?