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 Show 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<__S: Writer + Hasher> Hash<__S> for IntType

fn hash(&self, __arg_0: &mut __S)

impl Eq for IntType

fn assert_receiver_is_total_eq(&self)