Registry / utility / typewit

typewit

JSON →
library1.15.2rscratesunverified

Type-witness-based abstractions for emulating polymorphism in const fns.

# Cargo.toml [dependencies] typewit = "1.15.2"
INSTALL
IMPORT
SIG · TYPEWIT
T
typewit
utilityrustv1.15.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TypeEq
use typewit::TypeEq;

Use TypeEq to witness type equality in const contexts.

use typewit::TypeEq; fn main() { let eq: TypeEq<u32, u32> = TypeEq::NEW; println!("Types are equal: {:?}", eq); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.15.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
typewit — cargo add typewit · libregistry