Struct pepper::pattern::Pattern [−][src]
pub struct Pattern { /* fields omitted */ }
Implementations
pub fn match_indices<'pattern, 'text>(
&'pattern self,
text: &'text str,
anchor: Option<char>
) -> MatchIndices<'pattern, 'text>ⓘNotable traits for MatchIndices<'pattern, 'text>impl<'pattern, 'text> Iterator for MatchIndices<'pattern, 'text> type Item = Range<usize>;
Notable traits for MatchIndices<'pattern, 'text>
impl<'pattern, 'text> Iterator for MatchIndices<'pattern, 'text> type Item = Range<usize>;
pub fn matches_with_state(
&self,
text: &str,
index: usize,
state: PatternState
) -> MatchResult
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Pattern
impl UnwindSafe for Pattern
Blanket Implementations
Mutably borrows from an owned value. Read more