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

Make it possible to dervie Pixel #85

Closed
Ogeon opened this issue Mar 30, 2018 · 0 comments
Closed

Make it possible to dervie Pixel #85

Ogeon opened this issue Mar 30, 2018 · 0 comments
Milestone

Comments

@Ogeon
Copy link
Owner

Ogeon commented Mar 30, 2018

It should check for #[repr(C)] and that all non-zero sized properties are of the same type. There is no straight forward way to detect zero sized types, so an attribute for marking zero sized properties is probably necessary. There should also be asserts that checks the sizes (some are already in place).

@Ogeon Ogeon added this to the 0.4.0 milestone Apr 3, 2018
bors bot added a commit that referenced this issue Apr 28, 2018
93: Make it possible to derive Pixel r=Ogeon a=Ogeon

Closes #85 

Co-authored-by: Erik Hedvall <erikwhedvall@gmail.com>
@bors bors bot closed this as completed in #93 Apr 28, 2018
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

No branches or pull requests

1 participant