Enum rustc::middle::ty::sty[src]

pub enum sty {
    ty_nil,
    ty_bot,
    ty_bool,
    ty_char,
    ty_int(IntTy),
    ty_uint(UintTy),
    ty_float(FloatTy),
    ty_enum(DefId, Substs),
    ty_box(t),
    ty_uniq(t),
    ty_str,
    ty_vec(mt, Option<uint>),
    ty_ptr(mt),
    ty_rptr(Region, mt),
    ty_bare_fn(BareFnTy),
    ty_closure(Box<ClosureTy>),
    ty_trait(Box<TyTrait>),
    ty_struct(DefId, Substs),
    ty_tup(Vec<t>),
    ty_param(ParamTy),
    ty_infer(InferTy),
    ty_err,
}

Variants

ty_nil
ty_bot
ty_bool
ty_char
ty_int
ty_uint
ty_float
ty_enum
ty_box
ty_uniq
ty_str
ty_vec
ty_ptr
ty_rptr
ty_bare_fn
ty_closure
ty_trait
ty_struct
ty_tup
ty_param
ty_infer
ty_err

Trait Implementations

impl TypeFoldable for sty

fn fold_with<F: TypeFolder>(&self, folder: &mut F) -> sty

Derived Implementations

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

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

impl Eq for sty

fn assert_receiver_is_total_eq(&self)

impl PartialEq for sty

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

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

impl Clone for sty

fn clone(&self) -> sty

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