Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field visibility #10

Open
LegNeato opened this issue Apr 27, 2018 · 1 comment · May be fixed by #44
Open

Field visibility #10

LegNeato opened this issue Apr 27, 2018 · 1 comment · May be fixed by #44

Comments

@LegNeato
Copy link

You cannot set field visibility currently.

I have added it in my branch @ https://github.com/LegNeato/codegen/tree/issue-3-and-4-field-documentation-annotation and will put up a PR when #6 lands.

@gorup
Copy link
Contributor

gorup commented Jul 23, 2019

I got around this by having the name of the field have the word pub in the field name, e.g.

s.field("pub num", "usize");

But yeah, +1 to having this be supported!

@strykejern strykejern linked a pull request Apr 23, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants