pub struct Pattern { /* private fields */ }
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
Basic usage:
use fuse_rust::{ Fuse };
let fuse = Fuse::default();
let pattern = fuse.create_pattern("Hello");
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.