[−][src]Trait syntax::attr::HasAttrs
Required methods
fn attrs(&self) -> &[Attribute]
fn map_attrs<F: FnOnce(Vec<Attribute>) -> Vec<Attribute>>(self, f: F) -> Self
Implementations on Foreign Types
impl HasAttrs for Vec<Attribute>
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F: FnOnce(Vec<Attribute>) -> Vec<Attribute>>(self, f: F) -> Self
[src]
Implementors
impl HasAttrs for StmtKind
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F: FnOnce(Vec<Attribute>) -> Vec<Attribute>>(self, f: F) -> Self
[src]
impl HasAttrs for Annotatable
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F: FnOnce(Vec<Attribute>) -> Vec<Attribute>>(self, f: F) -> Self
[src]
impl HasAttrs for Arm
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F>(self, f: F) -> Self where
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
[src]
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
impl HasAttrs for Expr
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F>(self, f: F) -> Self where
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
[src]
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
impl HasAttrs for Field
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F>(self, f: F) -> Self where
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
[src]
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
impl HasAttrs for FieldPat
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F>(self, f: F) -> Self where
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
[src]
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
impl HasAttrs for ForeignItem
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F>(self, f: F) -> Self where
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
[src]
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
impl HasAttrs for GenericParam
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F: FnOnce(Vec<Attribute>) -> Vec<Attribute>>(self, f: F) -> Self
[src]
impl HasAttrs for ImplItem
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F>(self, f: F) -> Self where
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
[src]
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
impl HasAttrs for Item
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F>(self, f: F) -> Self where
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
[src]
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
impl HasAttrs for Local
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F>(self, f: F) -> Self where
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
[src]
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
impl HasAttrs for Stmt
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F: FnOnce(Vec<Attribute>) -> Vec<Attribute>>(self, f: F) -> Self
[src]
impl HasAttrs for StructField
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F>(self, f: F) -> Self where
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
[src]
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
impl HasAttrs for TraitItem
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F>(self, f: F) -> Self where
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
[src]
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
impl HasAttrs for Variant_
[src]
fn attrs(&self) -> &[Attribute]
[src]
fn map_attrs<F>(self, f: F) -> Self where
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,
[src]
F: FnOnce(Vec<Attribute>) -> Vec<Attribute>,