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

Read a meta-item, and apply its values to the current instance.

Provided Methods

Implementors