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

pub enum ReprAttr {
    ReprAny,
    ReprInt(Span, IntType),
    ReprExtern,
    ReprPacked,
}

Variants

ReprAny
ReprInt
ReprExtern
ReprPacked

Methods

impl ReprAttr

fn is_ffi_safe(&self) -> bool

Trait Implementations

Derived Implementations

impl Copy for ReprAttr

impl Decodable for ReprAttr

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

impl Encodable for ReprAttr

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

impl Debug for ReprAttr

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

impl PartialEq for ReprAttr

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

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