Enum syntax::ast::AttrStyleExperimental [-]  [+] [src]

pub enum AttrStyle {
    AttrOuter,
    AttrInner,
}

Distinguishes between Attributes that decorate items and Attributes that are contained as statements within items. These two cases need to be distinguished for pretty-printing.

Variants

AttrOuter
AttrInner

Trait Implementations

Derived Implementations

impl Copy for AttrStyle

impl Show for AttrStyle

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

impl<__S: Writer> Hash<__S> for AttrStyle

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

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for AttrStyle

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

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

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

impl Eq for AttrStyle

fn assert_receiver_is_total_eq(&self)

impl PartialEq for AttrStyle

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

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

impl Clone for AttrStyle

fn clone(&self) -> AttrStyle

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