Function load_patterns
Source pub fn load_patterns(path: &Path) -> Result<Vec<SignificantPattern>>
Expand description
Load patterns from a JSON file
§Arguments
path - Path to the patterns file
§Returns
Vector of loaded patterns
§Example
let patterns = load_patterns(Path::new("patterns.json"))?;