Trait nom::FindSubstring[][src]

pub trait FindSubstring<T> {
    fn find_substring(&self, substr: T) -> Option<usize>;
}

look for a substring in self

Required Methods

Implementations on Foreign Types

impl<'a, 'b> FindSubstring<&'b [u8]> for &'a [u8]
[src]

impl<'a, 'b> FindSubstring<&'b str> for &'a [u8]
[src]

impl<'a, 'b> FindSubstring<&'b str> for &'a str
[src]

Implementors