pub trait FindSubstring<T> {
// Required method
fn find_substring(&self, substr: T) -> Option<usize>;
}
Available on crate feature
mtls
only.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