Function clippy::utils::walk_ptrs_ty_depth
[−]
[src]
pub fn walk_ptrs_ty_depth(ty: Ty) -> (Ty, usize)
return the base type for references and raw pointers, and count reference depth