Trait stringzilla::StringZilla
source · pub trait StringZilla<N>{
// Required methods
fn sz_find(&self, needle: N) -> Option<usize>;
fn sz_rfind(&self, needle: N) -> Option<usize>;
fn sz_find_char_from(&self, needles: N) -> Option<usize>;
fn sz_rfind_char_from(&self, needles: N) -> Option<usize>;
fn sz_find_char_not_from(&self, needles: N) -> Option<usize>;
fn sz_rfind_char_not_from(&self, needles: N) -> Option<usize>;
fn sz_edit_distance(&self, other: N) -> usize;
fn sz_alignment_score(
&self,
other: N,
matrix: [[i8; 256]; 256],
gap: i8
) -> isize;
}Expand description
The StringZilla trait provides a collection of string searching and manipulation functionalities.