pub enum PromotedChildren<'tree> {
Constructor(Box<Constructor<'tree>>),
ConstructorOperator(Box<ConstructorOperator<'tree>>),
EmptyList(Box<EmptyList<'tree>>),
InfixId(Box<InfixId<'tree>>),
List(Box<List<'tree>>),
Operator(Box<Operator<'tree>>),
PrefixId(Box<PrefixId<'tree>>),
PrefixTuple(Box<PrefixTuple<'tree>>),
Qualified(Box<Qualified<'tree>>),
Tuple(Box<Tuple<'tree>>),
Unit(Box<Unit<'tree>>),
}Variants§
Constructor(Box<Constructor<'tree>>)
ConstructorOperator(Box<ConstructorOperator<'tree>>)
EmptyList(Box<EmptyList<'tree>>)
InfixId(Box<InfixId<'tree>>)
List(Box<List<'tree>>)
Operator(Box<Operator<'tree>>)
PrefixId(Box<PrefixId<'tree>>)
PrefixTuple(Box<PrefixTuple<'tree>>)
Qualified(Box<Qualified<'tree>>)
Tuple(Box<Tuple<'tree>>)
Unit(Box<Unit<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for PromotedChildren<'tree>
impl<'tree> Clone for PromotedChildren<'tree>
Source§fn clone(&self) -> PromotedChildren<'tree>
fn clone(&self) -> PromotedChildren<'tree>
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 moreSource§impl<'tree> Debug for PromotedChildren<'tree>
impl<'tree> Debug for PromotedChildren<'tree>
Source§impl<'tree> FromNode<'tree> for PromotedChildren<'tree>
impl<'tree> FromNode<'tree> for PromotedChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for PromotedChildren<'tree>
impl<'tree> RefUnwindSafe for PromotedChildren<'tree>
impl<'tree> Send for PromotedChildren<'tree>
impl<'tree> Sync for PromotedChildren<'tree>
impl<'tree> Unpin for PromotedChildren<'tree>
impl<'tree> UnsafeUnpin for PromotedChildren<'tree>
impl<'tree> UnwindSafe for PromotedChildren<'tree>
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