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

pub enum IntTy {
    TyIs(bool),
    TyI8,
    TyI16,
    TyI32,
    TyI64,
}

Variants

TyIs
TyI8
TyI16
TyI32
TyI64

Methods

impl IntTy

fn suffix_len(&self) -> usize

Trait Implementations

impl PartialEq for IntTy

fn eq(&self, other: &IntTy) -> bool

fn ne(&self, other: &Rhs) -> bool

impl Debug for IntTy

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

impl Display for IntTy

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

Derived Implementations

impl Copy for IntTy

impl Hash for IntTy

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for IntTy

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<IntTy, Error>

impl Encodable for IntTy

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

impl Eq for IntTy

fn assert_receiver_is_total_eq(&self)

impl Clone for IntTy

fn clone(&self) -> IntTy

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