pub struct ParseNodeChild<'a> {
pub name: String,
pub node: ParseNode<'a>,
}Expand description
Represents a ParseNode’s child, containing a name (to be used in methods like ParseNode::find) and another node.
Fields§
§name: StringThe identifier used to refer to this child.
node: ParseNode<'a>The ParseNode held by this child: the actual branch of the tree.
Trait Implementations§
Source§impl<'a> Clone for ParseNodeChild<'a>
impl<'a> Clone for ParseNodeChild<'a>
Source§fn clone(&self) -> ParseNodeChild<'a>
fn clone(&self) -> ParseNodeChild<'a>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<'a> Freeze for ParseNodeChild<'a>
impl<'a> RefUnwindSafe for ParseNodeChild<'a>
impl<'a> Send for ParseNodeChild<'a>
impl<'a> Sync for ParseNodeChild<'a>
impl<'a> Unpin for ParseNodeChild<'a>
impl<'a> UnwindSafe for ParseNodeChild<'a>
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