Skip to content
Discussion options

You must be logged in to vote

The crates haven't been published in a day or so — there's an invariants attribute for the derive macro — I encourage you to look at the sources for now.

Some structs are almost POD and it makes sense for them to have an invariant checking function like this, some are really special and they should be treated as scalars, because they're very opaque.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ComputerDruid
Comment options

Answer selected by ComputerDruid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
✋ question Further information is requested
2 participants