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

Struct Support #6

Open
Shadorain opened this issue Feb 7, 2023 · 0 comments
Open

Struct Support #6

Shadorain opened this issue Feb 7, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request todo For future expansion

Comments

@Shadorain
Copy link
Owner

Summary

Add asset-derive support to Struct data types as well instead of only enums.

Idea

I realized with the trait addition #4 , it made having struct's being asset's themselves quite simple.
Simply derive the Asset trait on it and the struct itself will have its own filename and asset to fetch.
It is limitted to just one asset (unless we do fields in the future too) but it wouldn't be restricting to just enums.

@Shadorain Shadorain added enhancement New feature or request todo For future expansion labels Feb 7, 2023
@Shadorain Shadorain self-assigned this Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request todo For future expansion
Projects
None yet
Development

No branches or pull requests

1 participant