Enum syntax::attr::IntTypeExperimental [-]  [+] [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<__D: Decoder<__E>, __E> Decodable<__D, __E> for IntType

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

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for IntType

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

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> Hash<__S> for IntType

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

impl Eq for IntType

fn assert_receiver_is_total_eq(&self)