pub struct ParseTree<K> {
pub kind: K,
pub span: Span,
pub child: Option<Rc<ParseTree<K>>>,
pub sibling: Option<Rc<ParseTree<K>>>,
}
Fields§
§kind: K
§span: Span
§child: Option<Rc<ParseTree<K>>>
§sibling: Option<Rc<ParseTree<K>>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K> Freeze for ParseTree<K>where
K: Freeze,
impl<K> RefUnwindSafe for ParseTree<K>where
K: RefUnwindSafe,
impl<K> !Send for ParseTree<K>
impl<K> !Sync for ParseTree<K>
impl<K> Unpin for ParseTree<K>where
K: Unpin,
impl<K> UnwindSafe for ParseTree<K>where
K: UnwindSafe + RefUnwindSafe,
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