pub fn items<T>( v: &[T], min: Option<usize>, max: Option<usize>, path: &Path<'_>, ) -> Result<(), Violation>