Trait darling_core::options::ParseAttribute
[−]
[src]
pub trait ParseAttribute: Sized { fn parse_nested(&mut self, mi: &Meta) -> Result<()>; fn parse_attributes(self, attrs: &[Attribute]) -> Result<Self> { ... } }
Middleware for extracting attribute values.
Required Methods
fn parse_nested(&mut self, mi: &Meta) -> Result<()>
Read a meta-item, and apply its values to the current instance.
Provided Methods
fn parse_attributes(self, attrs: &[Attribute]) -> Result<Self>
Implementors
impl ParseAttribute for Core
impl ParseAttribute for FdiOptions
impl ParseAttribute for FromFieldOptions
impl ParseAttribute for FromMetaOptions
impl ParseAttribute for FromTypeParamOptions
impl ParseAttribute for FromVariantOptions
impl ParseAttribute for InputField
impl ParseAttribute for InputVariant
impl ParseAttribute for OuterFrom