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
[src]

fn is_ffi_safe(&self) -> bool

Trait Implementations

Derived Implementations

impl Clone for ReprAttr
[src]

fn clone(&self) -> ReprAttr

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for ReprAttr
[src]

impl Decodable for ReprAttr
[src]

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

impl Encodable for ReprAttr
[src]

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

impl Debug for ReprAttr
[src]

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

Formats the value using the given formatter.

impl PartialEq for ReprAttr
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

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

This method tests for !=.