[go: up one dir, main page]

Trait jetscii::DirectSearch [] [src]

pub unsafe trait DirectSearch {
    fn find(&self, haystack: &str) -> Option<usize>;
    fn len(&self) -> usize;
}

Types that return the index of the next match.

Required Methods

fn find(&self, haystack: &str) -> Option<usize>

fn len(&self) -> usize

Implementors