Derive Macro macroific::attr_parse::ParseOption
source · #[derive(ParseOption)]
{
// Attributes available to this derive:
#[attr_opts]
}
Available on crate features
derive
and attr_parse
only.Expand description
Derive the ParseOption
trait for a struct. Uses the same field options as AttributeOptions
.
Container Options | |
---|---|
#[attr_opts(from_parse)] | Call Parse::parse to implement ParseOption . Parse will also get implemented if this option is omitted or false |