Trait IntoAnyAttribute
pub trait IntoAnyAttribute {
// Required method
fn into_any_attr(self) -> AnyAttribute;
}Expand description
Converts an [Attribute] into [AnyAttribute].
Required Methods§
fn into_any_attr(self) -> AnyAttribute
fn into_any_attr(self) -> AnyAttribute
Wraps the given attribute.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".