[][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>

Returns the byte position of the substring if it is found

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]

impl<'a, 'b, O1, O2, T1, T2> FindSubstring<&'b BitSlice<O2, T2>> for &'a BitSlice<O1, T1> where
    O1: BitOrder,
    O2: BitOrder,
    T1: 'a + BitStore,
    T2: 'b + BitStore
[src]

Loading content...

Implementors

Loading content...