Function mischief::layout_of_val_raw
source · [−]pub fn layout_of_val_raw<T: Pointee + ?Sized>(ptr: *const T) -> Layoutwhere
T::Metadata: Metadata<T>,
Expand description
Returns the layout of the value pointed to by the given pointer.