Function is_slice_like

Source
pub fn is_slice_like<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool
Expand description

Check if ty is slice-like, i.e., &[T], [T; N], or Vec<T>.