Skip to main content

ALL_CATEGORIES

Constant ALL_CATEGORIES 

Source
pub const ALL_CATEGORIES: &[&str];
Expand description

All built-in category names in stable alphabetical order.

ยงExamples

use sdivi_patterns::queries::ALL_CATEGORIES;

assert!(ALL_CATEGORIES.contains(&"error_handling"));
assert!(ALL_CATEGORIES.contains(&"async_patterns"));
assert_eq!(ALL_CATEGORIES.len(), 5);