pub struct PrdGlobal<'a> {
pub udata: AnyMap,
pub udata_r: HashMap<usize, RegexCacher, FxBuildHasher>,
pub g: &'a Grammar,
/* private fields */
}Expand description
Exposable parts of current parser state.
Fields§
§udata: AnyMapPut your impure data here.
udata_r: HashMap<usize, RegexCacher, FxBuildHasher>Put your impure data here (simple path for cached regexes).
g: &'a GrammarAuto Trait Implementations§
impl<'a> Freeze for PrdGlobal<'a>
impl<'a> !RefUnwindSafe for PrdGlobal<'a>
impl<'a> !Send for PrdGlobal<'a>
impl<'a> !Sync for PrdGlobal<'a>
impl<'a> Unpin for PrdGlobal<'a>
impl<'a> !UnwindSafe for PrdGlobal<'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