Struct fuse_rust::Pattern [−][src]
pub struct Pattern { /* fields omitted */ }
Expand description
A datatype to store the pattern’s text, its length, a mask and a hashmap against each alphabet in the text. Always use fuse.create_pattern(“search string”) to create a pattern
Examples:
Basic usage:
use fuse_rust::{ Fuse };
let fuse = Fuse::default();
let pattern = fuse.create_pattern("Hello");