pub struct Node {}Fields§
§sym: u16§flags: u8§prod: u16§padding: Len§size: Len§first_child: u32child_count > 0 时为 kids 起始下标;child_count == 0 时复用存放 ERROR 叶子跳过的首字符(lchar)。
child_count: u32§error_cost: u32§dprec: i32§visible_descendants: u32§visible_children: u32§named_children: u32§ext: u32最后一个外部记号之后的扫描器状态编号(Arena::ext_bytes 的下标),子树里没有外部记号为 NONE。
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Node
impl Freeze for Node
impl Move for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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