Enum syntax::ast::PrimTyExperimental [-]  [+] [src]

pub enum PrimTy {
    TyInt(IntTy),
    TyUint(UintTy),
    TyFloat(FloatTy),
    TyStr,
    TyBool,
    TyChar,
}

Not represented directly in the AST, referred to by name through a ty_path.

Variants

TyInt
TyUint
TyFloat
TyStr
TyBool
TyChar

Trait Implementations

Derived Implementations

impl Copy for PrimTy

impl Show for PrimTy

fn fmt(&self, __arg_0: &mut Formatter) -> Result

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

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

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

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

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

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

impl Eq for PrimTy

fn assert_receiver_is_total_eq(&self)

impl PartialEq for PrimTy

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

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

impl Clone for PrimTy

fn clone(&self) -> PrimTy

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