Struct lalrpop_util::lexer::MatcherBuilder
source · pub struct MatcherBuilder { /* private fields */ }
Implementations§
source§impl MatcherBuilder
impl MatcherBuilder
pub fn new<S>( exprs: impl IntoIterator<Item = (S, bool)> ) -> Result<MatcherBuilder, BuildError>
pub fn matcher<'input, 'builder, E>( &'builder self, text: &'input str ) -> Matcher<'input, 'builder, 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more