pub struct LexerRule<'a> {
pub active: bool,
pub rule: WithSpan<'a, Rc<RegexTree>>,
}
Fields§
§active: bool
§rule: WithSpan<'a, Rc<RegexTree>>
Auto Trait Implementations§
impl<'a> Freeze for LexerRule<'a>
impl<'a> RefUnwindSafe for LexerRule<'a>
impl<'a> !Send for LexerRule<'a>
impl<'a> !Sync for LexerRule<'a>
impl<'a> Unpin for LexerRule<'a>
impl<'a> UnwindSafe for LexerRule<'a>
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