Enum syntax::ast::PrimTy[src]

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

Variants

TyInt
TyUint
TyFloat
TyStr
TyBool
TyChar

Trait Implementations

Derived Implementations

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)