Trait nom::FindSubstring
[−]
[src]
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>
Implementations on Foreign Types
impl<'a, 'b> FindSubstring<&'b [u8]> for &'a [u8]
[src]
impl<'a, 'b> FindSubstring<&'b str> for &'a [u8]
[src]
fn find_substring(&self, substr: &'b str) -> Option<usize>
[src]
impl<'a, 'b> FindSubstring<&'b str> for &'a str
[src]
fn find_substring(&self, substr: &'b str) -> Option<usize>
[src]
Implementors
impl<'a, 'b> FindSubstring<&'b str> for CompleteStr<'a>
impl<'a, 'b> FindSubstring<&'b [u8]> for CompleteByteSlice<'a>
impl<'a, 'b> FindSubstring<&'b str> for CompleteByteSlice<'a>