Trait darling_core::options::ParseData [] [src]

pub trait ParseData: Sized {
    fn parse_body(self, body: &Data) -> Result<Self> { ... }
fn parse_variant(&mut self, variant: &Variant) -> Result<()> { ... }
fn parse_field(&mut self, field: &Field) -> Result<()> { ... } }

Provided Methods

Apply the next found variant to the object, returning an error if parsing goes wrong.

Apply the next found struct field to the object, returning an error if parsing goes wrong.

Implementors