Skip to content
This repository was archived by the owner on Nov 12, 2023. It is now read-only.

XRBK macro doesn't add generic bounds #34

Open
Antikyth opened this issue Jan 10, 2023 · 1 comment
Open

XRBK macro doesn't add generic bounds #34

Antikyth opened this issue Jan 10, 2023 · 1 comment
Labels
bug Something isn't working task An essential task for a planned milestone.

Comments

@Antikyth
Copy link
Collaborator

xrbk_macro should add bounds to generics in a type when implementing XRBK traits for it. For example, every element that doesn't have a #[hide] attribute would have to implement X11Size before X11Size could be derived for the struct or enum.

@Antikyth
Copy link
Collaborator Author

See the HeapSize example in syn for inspiration perhaps, as it does this.

@Antikyth Antikyth added bug Something isn't working task An essential task for a planned milestone. labels Jan 10, 2023
@Antikyth Antikyth added this to the 0.1.0 milestone Jan 10, 2023
@Antikyth Antikyth pinned this issue Jan 10, 2023
@Antikyth Antikyth moved this to Unassigned in X Rust Bindings Jan 14, 2023
@Antikyth Antikyth changed the title xrbk_macro doesn't add generic bounds XRBK macro doesn't add generic bounds Jan 18, 2023
@Antikyth Antikyth removed this from the 0.1.0 milestone Jan 19, 2023
@Antikyth Antikyth unpinned this issue Feb 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working task An essential task for a planned milestone.
Projects
Status: Unassigned
Development

No branches or pull requests

1 participant