lib-misc-utils · crate
static_assertions
Kinogaki's own static_assertions, published under the crates.io name so the frozen wgpu, wgpu-hal and wgpu-types resolve to it through [patch.crates-io].
- Repository
- lib-misc-utils (kinogaki/lib-misc-utils)
- Folder
libs/lib-misc-utils/crates/static_assertions- Source
- 1 file, 39 lines
- Tests
- 1 file, 13 lines
What it is
Kinogaki's own static_assertions, published under the crates.io name so the frozen wgpu, wgpu-hal and wgpu-types resolve to it through [patch.crates-io]. It is not upstream static_assertions: it has the two macros those crates use. Both fail to compile when the assertion is false and generate no code.
Depends on
None.
Third-party
None.
Used by
None.
Third-party crates using it
Modules
One file: the crate root.
Public types and traits
At the crate root
Macros assert_impl_allassert_not_impl_any
