pub enum SpecialChildren<'tree> {
EmptyList(Box<EmptyList<'tree>>),
Tuple(Box<Tuple<'tree>>),
UnboxedSum(Box<UnboxedSum<'tree>>),
UnboxedTuple(Box<UnboxedTuple<'tree>>),
UnboxedUnit(Box<UnboxedUnit<'tree>>),
Unit(Box<Unit<'tree>>),
}Variants§
EmptyList(Box<EmptyList<'tree>>)
Tuple(Box<Tuple<'tree>>)
UnboxedSum(Box<UnboxedSum<'tree>>)
UnboxedTuple(Box<UnboxedTuple<'tree>>)
UnboxedUnit(Box<UnboxedUnit<'tree>>)
Unit(Box<Unit<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for SpecialChildren<'tree>
impl<'tree> Clone for SpecialChildren<'tree>
Source§fn clone(&self) -> SpecialChildren<'tree>
fn clone(&self) -> SpecialChildren<'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 SpecialChildren<'tree>
impl<'tree> Debug for SpecialChildren<'tree>
Source§impl<'tree> FromNode<'tree> for SpecialChildren<'tree>
impl<'tree> FromNode<'tree> for SpecialChildren<'tree>
Source§impl<'tree> PartialEq for SpecialChildren<'tree>
impl<'tree> PartialEq for SpecialChildren<'tree>
Source§impl Spanned for SpecialChildren<'_>
impl Spanned for SpecialChildren<'_>
impl<'tree> Eq for SpecialChildren<'tree>
impl<'tree> StructuralPartialEq for SpecialChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for SpecialChildren<'tree>
impl<'tree> RefUnwindSafe for SpecialChildren<'tree>
impl<'tree> Send for SpecialChildren<'tree>
impl<'tree> Sync for SpecialChildren<'tree>
impl<'tree> Unpin for SpecialChildren<'tree>
impl<'tree> UnsafeUnpin for SpecialChildren<'tree>
impl<'tree> UnwindSafe for SpecialChildren<'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