pub trait AttributeMeta: AttributeBase {
// Required method
fn parse_inner(input: ParseStream<'_>) -> Result<Self::Partial>;
}Expand description
Trait implementing parsing for <function>(<like>) attributes.
This is the trait defining the parsing of both top level attributes deriving
FromAttr and sub attributes.
#[attribute(sub_attribute("hello", "world"))]Required Methods§
Sourcefn parse_inner(input: ParseStream<'_>) -> Result<Self::Partial>
fn parse_inner(input: ParseStream<'_>) -> Result<Self::Partial>
Parses the content of the parenthesis:
attribute(value)
^^^^^Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.