Trait FindSlice

trait FindSlice<T>

Look for a slice in self

Required Methods

fn find_slice(self: &Self, substr: T) -> Option<Range<usize>>

Returns the offset of the slice if it is found

Implementors