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

pub enum LitIntType {
    SignedIntLit(IntTy, Sign),
    UnsignedIntLit(UintTy),
    UnsuffixedIntLit(Sign),
}

Variants

SignedIntLit
UnsignedIntLit
UnsuffixedIntLit

Methods

impl LitIntType

fn suffix_len(&self) -> usize

Trait Implementations

Derived Implementations

impl Copy for LitIntType

impl Debug for LitIntType

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

impl Hash for LitIntType

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

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

impl Decodable for LitIntType

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

impl Encodable for LitIntType

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

impl Eq for LitIntType

fn assert_receiver_is_total_eq(&self)

impl PartialEq for LitIntType

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

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

impl Clone for LitIntType

fn clone(&self) -> LitIntType

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