Trait nom::FindSubstring
source · [−]pub trait FindSubstring<T> {
fn find_substring(&self, substr: T) -> Option<usize>;
}
Expand description
Look for a substring in self
Required methods
fn 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