Struct lalrpop_util::lexer::MatcherBuilder
source · [−]pub struct MatcherBuilder { /* private fields */ }
Implementations
sourceimpl MatcherBuilder
impl MatcherBuilder
pub fn new<S>(
exprs: impl IntoIterator<Item = (S, bool)>
) -> Result<MatcherBuilder, Error> where
S: AsRef<str>,
pub fn matcher<'input, 'builder, E>(
&'builder self,
s: &'input str
) -> Matcher<'input, 'builder, E>ⓘNotable traits for Matcher<'input, 'builder, E>impl<'input, 'builder, E> Iterator for Matcher<'input, 'builder, E> type Item = Result<(usize, Token<'input>, usize), ParseError<usize, Token<'input>, E>>;
Auto Trait Implementations
impl RefUnwindSafe for MatcherBuilder
impl Send for MatcherBuilder
impl Sync for MatcherBuilder
impl Unpin for MatcherBuilder
impl UnwindSafe for MatcherBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more