Skip to content

Annotating structs with #[get] or #[set] should propagate to all fields. #21

@tylerhawkes

Description

@tylerhawkes

This is a really useful library that I've been using quite a bit. Most of the time I want all struct fields to be #[get = "pub"] so being able to annotate a struct would be quite useful. I've come from the Java world where this can be done and there are also negating annotations that prevent getters and setters from being generated or made public, so some syntax like that may be useful.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions