[][src]Trait nom::FindSubstring

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

look for a substring in self

Required methods

fn find_substring(&self, substr: T) -> Option<usize>

Loading content...

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]

Loading content...

Implementors

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

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

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

impl<'b, T: FindSubstring<&'b str>> FindSubstring<&'b str> for Input<T>[src]

Loading content...