Enum syn::AttrStyle [] [src]

pub enum AttrStyle {

Distinguishes between attributes that decorate an item and attributes that are contained within an item.

This type is available if Syn is built with the "derive" or "full" feature.

Outer attributes

  • #[repr(transparent)]
  • /// # Example
  • /** Please file an issue */

Inner attributes

  • #![feature(proc_macro)]
  • //! # Example
  • /*! Please file an issue */


Trait Implementations

impl Copy for AttrStyle

impl Debug for AttrStyle


Formats the value using the given formatter. Read more

impl Eq for AttrStyle

impl PartialEq for AttrStyle


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


This method tests for !=.

impl Hash for AttrStyle


Feeds this value into the given [Hasher]. Read more


Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for AttrStyle


Returns a copy of the value. Read more


Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for AttrStyle

impl !Sync for AttrStyle