pub enum TypeChildren<'tree> {
ConstrainedType(Box<ConstrainedType<'tree>>),
Expression(Box<Expression<'tree>>),
GenericType(Box<GenericType<'tree>>),
MemberType(Box<MemberType<'tree>>),
SplatType(Box<SplatType<'tree>>),
UnionType(Box<UnionType<'tree>>),
}Variants§
ConstrainedType(Box<ConstrainedType<'tree>>)
Expression(Box<Expression<'tree>>)
GenericType(Box<GenericType<'tree>>)
MemberType(Box<MemberType<'tree>>)
SplatType(Box<SplatType<'tree>>)
UnionType(Box<UnionType<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for TypeChildren<'tree>
impl<'tree> Clone for TypeChildren<'tree>
Source§fn clone(&self) -> TypeChildren<'tree>
fn clone(&self) -> TypeChildren<'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 TypeChildren<'tree>
impl<'tree> Debug for TypeChildren<'tree>
Source§impl<'tree> FromNode<'tree> for TypeChildren<'tree>
impl<'tree> FromNode<'tree> for TypeChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for TypeChildren<'tree>
impl<'tree> RefUnwindSafe for TypeChildren<'tree>
impl<'tree> Send for TypeChildren<'tree>
impl<'tree> Sync for TypeChildren<'tree>
impl<'tree> Unpin for TypeChildren<'tree>
impl<'tree> UnsafeUnpin for TypeChildren<'tree>
impl<'tree> UnwindSafe for TypeChildren<'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