[][src]Struct fuzzy_pickles::ast::Attributed

pub struct Attributed<T> {
    pub extent: Extent,
    pub attributes: Vec<Attribute>,
    pub value: T,
    pub whitespace: Vec<Whitespace>,
}

An element that can have attributes applied to it.

Example Source

This example is not tested
#[inline(never)] fn a() {}

Fields

extent: Extentattributes: Vec<Attribute>value: Twhitespace: Vec<Whitespace>

Trait Implementations

impl<T: Debug> Debug for Attributed<T>[src]

impl<T> Deref for Attributed<T>[src]

type Target = T

The resulting type after dereferencing.

impl From<Expression> for Attributed<Expression>[src]

impl<T> HasExtent for Attributed<T>[src]

impl Visit for Attributed<EnumVariant>[src]

impl Visit for Attributed<Expression>[src]

impl Visit for Attributed<TraitMember>[src]

impl Visit for Attributed<ExternBlockMember>[src]

impl Visit for Attributed<GenericDeclarationConst>[src]

impl Visit for Attributed<GenericDeclarationLifetime>[src]

impl Visit for Attributed<GenericDeclarationType>[src]

impl Visit for Attributed<ImplMember>[src]

impl Visit for Attributed<Item>[src]

impl Visit for Attributed<StructDefinitionFieldNamed>[src]

impl Visit for Attributed<StructDefinitionFieldUnnamed>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Attributed<T> where
    T: RefUnwindSafe

impl<T> Send for Attributed<T> where
    T: Send

impl<T> Sync for Attributed<T> where
    T: Sync

impl<T> Unpin for Attributed<T> where
    T: Unpin

impl<T> UnwindSafe for Attributed<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.