Skip to content

Sub AttributesΒ #4

@ModProg

Description

@ModProg

Sometimes complex attributes might require sub attributes like so:

struct Attr {
   #[attribute(sub_attribute)]
   key: SubAttr
}

struct SubAttr {
    sub_key: String
}

Should parse

#[attr(key(sub_key = "hi"))]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions