Trait nom::traits::FindSubstring
source · pub trait FindSubstring<T> {
// Required method
fn find_substring(&self, substr: T) -> Option<usize>;
}
Expand description
Look for a substring in self
Required Methods§
sourcefn find_substring(&self, substr: T) -> Option<usize>
fn find_substring(&self, substr: T) -> Option<usize>
Returns the byte position of the substring if it is found