Module attr

Source
Expand description

Attributes analyzys and manipulation.

Re-exports§

pub use super::super::attr;

Modules§

exposed
Exposed namespace of the module.
orphan
Orphan namespace of the module.
own
Own namespace of the module.
prelude
Prelude to use essentials: use my_module::prelude::*.

Structs§

AttributesInner
Attribute which is inner.
AttributesOuter
Represents a collection of outer attributes.

Traits§

AttributeComponent
Trait for components of a structure aggregating attributes that can be constructed from a meta attribute.

Functions§

has_as_mut
Checks if the given iterator of attributes contains an attribute named as_mut.
has_debug
Checks if the given iterator of attributes contains an attribute named debug.
has_deref
Checks if the given iterator of attributes contains an attribute named deref.
has_deref_mut
Checks if the given iterator of attributes contains an attribute named deref_mut.
has_from
Checks if the given iterator of attributes contains an attribute named from.
has_index_mut
Checks if the given iterator of attributes contains an attribute named index_mut.
is_standard
Checks if the given attribute name is a standard Rust attribute.