Enum syntax::attr::IntTypeUnstable [-] [+] [src]

pub enum IntType {
    SignedInt(IntTy),
    UnsignedInt(UintTy),
}

Variants

SignedInt
UnsignedInt

Methods

impl IntType

fn is_signed(self) -> bool

Trait Implementations

Derived Implementations

impl Copy for IntType

impl Decodable for IntType

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

impl Encodable for IntType

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

impl Debug for IntType

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

impl PartialEq for IntType

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

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

impl Hash for IntType

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

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

impl Eq for IntType

fn assert_receiver_is_total_eq(&self)