pub enum Ty_ {
TyNil,
TyBot,
TyBox(P<Ty>),
TyUniq(P<Ty>),
TyVec(P<Ty>),
TyFixedLengthVec(P<Ty>, Gc<Expr>),
TyPtr(MutTy),
TyRptr(Option<Lifetime>, MutTy),
TyClosure(Gc<ClosureTy>, Option<Lifetime>),
TyProc(Gc<ClosureTy>),
TyBareFn(Gc<BareFnTy>),
TyUnboxedFn(Gc<UnboxedFnTy>),
TyTup(Vec<P<Ty>>),
TyPath(Path, Option<OwnedSlice<TyParamBound>>, NodeId),
TyParen(P<Ty>),
TyTypeof(Gc<Expr>),
TyInfer,
}Variants
TyNil | |
TyBot | |
TyBox | |
TyUniq | |
TyVec | |
TyFixedLengthVec | |
TyPtr | |
TyRptr | |
TyClosure | |
TyProc | |
TyBareFn | |
TyUnboxedFn | |
TyTup | |
TyPath | |
TyParen | |
TyTypeof | |
TyInfer | |
Trait Implementations
Derived Implementations
fn hash(&self, __arg_0: &mut __S)