[−][src]Enum syn::AttrStyle
pub enum AttrStyle { Outer, Inner(Bang), }
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 */
Variants
Inner(Bang)
Trait Implementations
impl Clone for AttrStyle
[src][+]
impl Copy for AttrStyle
[src]
impl Debug for AttrStyle
[src][+]
impl Eq for AttrStyle
[src]
impl Hash for AttrStyle
[src][+]
impl PartialEq<AttrStyle> for AttrStyle
[src][+]
impl StructuralEq for AttrStyle
[src]
impl StructuralPartialEq for AttrStyle
[src]
Auto Trait Implementations
impl !RefUnwindSafe for AttrStyle
impl !Send for AttrStyle
impl !Sync for AttrStyle
impl Unpin for AttrStyle
impl UnwindSafe for AttrStyle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,