pub enum Type<'tree> {
CallExpression(Box<CallExpression<'tree>>),
ConstructorType(Box<ConstructorType<'tree>>),
FunctionType(Box<FunctionType<'tree>>),
InferType(Box<InferType<'tree>>),
MemberExpression(Box<MemberExpression<'tree>>),
PrimaryType(Box<PrimaryType<'tree>>),
ReadonlyType(Box<ReadonlyType<'tree>>),
}Variants§
CallExpression(Box<CallExpression<'tree>>)
ConstructorType(Box<ConstructorType<'tree>>)
FunctionType(Box<FunctionType<'tree>>)
InferType(Box<InferType<'tree>>)
MemberExpression(Box<MemberExpression<'tree>>)
PrimaryType(Box<PrimaryType<'tree>>)
ReadonlyType(Box<ReadonlyType<'tree>>)
Trait Implementations§
impl<'tree> Eq for Type<'tree>
impl<'tree> StructuralPartialEq for Type<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Type<'tree>
impl<'tree> RefUnwindSafe for Type<'tree>
impl<'tree> Send for Type<'tree>
impl<'tree> Sync for Type<'tree>
impl<'tree> Unpin for Type<'tree>
impl<'tree> UnsafeUnpin for Type<'tree>
impl<'tree> UnwindSafe for Type<'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