pub struct ParseTree {
pub arena: Arena,
pub root: u32,
pub truncated: bool,
pub input_len: usize,
}Expand description
解析结果:树本身放在竞技场里,用 ParseTree::visit 遍历。
Fields§
§arena: Arena§root: u32§truncated: bool因资源上限而中止,树是退化的单个 ERROR 节点。
input_len: usizeImplementations§
Auto Trait Implementations§
impl Freeze for ParseTree
impl RefUnwindSafe for ParseTree
impl Send for ParseTree
impl Sync for ParseTree
impl Unpin for ParseTree
impl UnsafeUnpin for ParseTree
impl UnwindSafe for ParseTree
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