pub struct ParseFrame {
pub rule: String,
pub start_pos: usize,
pub depth: usize,
pub in_type: bool,
pub in_pattern: bool,
}Expand description
Holds the state for a single parse “frame” (a call to a recursive production).
Fields§
§rule: String§start_pos: usize§depth: usize§in_type: bool§in_pattern: boolImplementations§
Auto Trait Implementations§
impl Freeze for ParseFrame
impl RefUnwindSafe for ParseFrame
impl Send for ParseFrame
impl Sync for ParseFrame
impl Unpin for ParseFrame
impl UnsafeUnpin for ParseFrame
impl UnwindSafe for ParseFrame
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