pub enum AttrStyle {
Outer,
Inner(Bang),
}
Available on crate features
full
or derive
only.Expand description
Distinguishes between attributes that decorate an item and attributes that are contained within an item.
This type is available only 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 */
Variants§
Trait Implementations§
source§impl PartialEq<AttrStyle> for AttrStyle
Available on crate feature extra-traits
only.
impl PartialEq<AttrStyle> for AttrStyle
Available on crate feature
extra-traits
only.impl Copy for AttrStyle
Available on crate feature
clone-impls
only.impl Eq for AttrStyle
Available on crate feature
extra-traits
only.