Enum syntax::ast::Ty_[src]

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

impl<__S: Writer> Hash<__S> for Ty_

fn hash(&self, __arg_0: &mut __S)

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Ty_

fn decode(__arg_0: &mut __D) -> Result<Ty_, __E>

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Ty_

fn encode(&self, __arg_0: &mut __S) -> Result<(), __E>

impl Eq for Ty_

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Ty_

fn eq(&self, __arg_0: &Ty_) -> bool

fn ne(&self, __arg_0: &Ty_) -> bool

impl Clone for Ty_

fn clone(&self) -> Ty_

fn clone_from(&mut self, source: &Self)