Enum syntex_syntax::ast::IntTy [] [src]

pub enum IntTy {
    TyIs,
    TyI8,
    TyI16,
    TyI32,
    TyI64,
}

Variants

TyIs
TyI8
TyI16
TyI32
TyI64

Methods

impl IntTy

fn bit_width(&self) -> Option<usize>

Trait Implementations

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, __D::Error>

impl Encodable for IntTy

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

impl Eq for IntTy

impl PartialEq for IntTy

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

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

impl Clone for IntTy

fn clone(&self) -> IntTy

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