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 [u8]> for &'a [u8]
impl<'a, 'b> FindSubstring<&'b str> for &'a [u8]
[src]
impl<'a, 'b> FindSubstring<&'b str> for &'a [u8]
fn find_substring(&self, substr: &'b str) -> Option<usize>
[src]
fn find_substring(&self, substr: &'b str) -> Option<usize>
impl<'a, 'b> FindSubstring<&'b str> for &'a str
[src]
impl<'a, 'b> FindSubstring<&'b str> for &'a str
fn find_substring(&self, substr: &'b str) -> Option<usize>
[src]
fn find_substring(&self, substr: &'b str) -> Option<usize>
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>
impl<'b, T: FindSubstring<&'b str>> FindSubstring<&'b str> for Input<T>