pub fn walk_ptrs_ty_depth(ty: Ty<'_>) -> (Ty<'_>, usize)
Expand description

Returns the base type for references and raw pointers, and count reference depth.