pub struct SyntaxTreeNode {
pub value: Option<Arc<String>>,
pub symbol: Arc<String>,
pub children: Option<VecDeque<Box<SyntaxTreeNode>>>,
}
Fields§
§value: Option<Arc<String>>
§symbol: Arc<String>
§children: Option<VecDeque<Box<SyntaxTreeNode>>>
Trait Implementations§
Source§impl Clone for SyntaxTreeNode
impl Clone for SyntaxTreeNode
Source§fn clone(&self) -> SyntaxTreeNode
fn clone(&self) -> SyntaxTreeNode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SyntaxTreeNode
impl Debug for SyntaxTreeNode
Auto Trait Implementations§
impl Freeze for SyntaxTreeNode
impl RefUnwindSafe for SyntaxTreeNode
impl Send for SyntaxTreeNode
impl Sync for SyntaxTreeNode
impl Unpin for SyntaxTreeNode
impl UnwindSafe for SyntaxTreeNode
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