Enum syntax::ast::Ty_Experimental
[-]
[+]
[src]
pub enum Ty_ {
TyNil,
TyBot,
TyUniq(P<Ty>),
TyVec(P<Ty>),
TyFixedLengthVec(P<Ty>, P<Expr>),
TyPtr(MutTy),
TyRptr(Option<Lifetime>, MutTy),
TyClosure(P<ClosureTy>),
TyProc(P<ClosureTy>),
TyBareFn(P<BareFnTy>),
TyTup(Vec<P<Ty>>),
TyPath(Path, Option<TyParamBounds>, NodeId),
TyPolyTraitRef(P<PolyTraitRef>),
TyQPath(P<QPath>),
TyParen(P<Ty>),
TyTypeof(P<Expr>),
TyInfer,
}The different kinds of types recognized by the compiler