pub enum UnionTypeChildren<'tree> {
NamedType(Box<NamedType<'tree>>),
OptionalType(Box<OptionalType<'tree>>),
PrimitiveType(Box<PrimitiveType<'tree>>),
}Variants§
NamedType(Box<NamedType<'tree>>)
OptionalType(Box<OptionalType<'tree>>)
PrimitiveType(Box<PrimitiveType<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for UnionTypeChildren<'tree>
impl<'tree> Clone for UnionTypeChildren<'tree>
Source§fn clone(&self) -> UnionTypeChildren<'tree>
fn clone(&self) -> UnionTypeChildren<'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 UnionTypeChildren<'tree>
impl<'tree> Debug for UnionTypeChildren<'tree>
Source§impl<'tree> FromNode<'tree> for UnionTypeChildren<'tree>
impl<'tree> FromNode<'tree> for UnionTypeChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for UnionTypeChildren<'tree>
impl<'tree> RefUnwindSafe for UnionTypeChildren<'tree>
impl<'tree> Send for UnionTypeChildren<'tree>
impl<'tree> Sync for UnionTypeChildren<'tree>
impl<'tree> Unpin for UnionTypeChildren<'tree>
impl<'tree> UnsafeUnpin for UnionTypeChildren<'tree>
impl<'tree> UnwindSafe for UnionTypeChildren<'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