Enum syntex_syntax::attr::ReprAttr [] [src]

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

Variants

ReprAny
ReprInt
ReprExtern
ReprPacked
ReprSimd

Methods

impl ReprAttr

fn is_ffi_safe(&self) -> bool

Trait Implementations

Derived Implementations

impl Clone for ReprAttr

fn clone(&self) -> ReprAttr

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

impl Copy for ReprAttr

impl Decodable for ReprAttr

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

impl Encodable for ReprAttr

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::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