Trait synthez_core::has::Attrs

source ·
pub trait Attrs {
    // Required method
    fn attrs(&self) -> &[Attribute];
}
Expand description

syn types containing syn::Attributes.

Required Methods§

source

fn attrs(&self) -> &[Attribute]

Returns contained syn::Attributes.

Implementations on Foreign Types§

source§

impl Attrs for Receiver

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ForeignItemFn

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for TypeParam

source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprBinary

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemStatic

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for DeriveInput

source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for Vec<Attribute>

source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for Field

source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ForeignItemStatic

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprMatch

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprAsync

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprTryBlock

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprTuple

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for PatTupleStruct

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprIndex

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemUnion

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for PatStruct

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for TraitItemFn

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for Local

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemConst

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprArray

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprLet

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprUnary

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemEnum

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for TraitItemConst

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprTry

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ImplItemConst

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprClosure

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprCall

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for Arm

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for Variant

source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprLoop

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ForeignItemType

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemMod

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprWhile

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for PatType

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprAssign

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprLit

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprParen

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprCast

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ForeignItemMacro

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprBreak

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprGroup

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprUnsafe

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprPath

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemTrait

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemImpl

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprMacro

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprIf

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemUse

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprAwait

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemExternCrate

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprForLoop

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for PatIdent

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for FieldPat

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for BareFnArg

source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for File

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for LifetimeParam

source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemType

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ImplItemType

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemFn

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprReturn

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for PatRest

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ImplItemMacro

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprBlock

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprMethodCall

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for PatReference

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprField

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for TraitItemMacro

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for TraitItemType

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ImplItemFn

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for PatOr

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemStruct

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprContinue

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprStruct

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for PatTuple

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for PatSlice

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemForeignMod

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ConstParam

source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemTraitAlias

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ItemMacro

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprRepeat

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprRange

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprYield

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for ExprReference

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for PatWild

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

source§

impl Attrs for FieldValue

Available on crate feature full only.
source§

fn attrs(&self) -> &[Attribute]

Implementors§