docs.rs failed to build unsafe_unions-0.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
unsafe_unions-0.0.2
unsafe_unions
Note: This macro currently uses the plugin interpolate_idents as a workaround for a rust bug, and as such, rust nightly is a requirement.
API
unsafe_unions!
$Storage
shall be a POD-type bigger or equal in size of the biggest field. This needs to be specified, as we have currently no way of figuring out which field is the biggest at compile-time.
Generated Functions:
pub unsafe ;
pub unsafe ;
pub unsafe ;
pub unsafe ;
pub unsafe _mut ;
Example
extern crate unsafe_unions;
unsafe_unions!
TODO
- write docs
- write tests