Skip to content

maxdexh/const-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crates.io Documentation Rust

Provides stable const implementations for some things missing from the standard library.

Currently implemented are

  • Functions in result to unwrap Results with generics or drop glue
  • Functions in the concat module to concat const strings and byte slices.
  • destruct_tuple to destructure tuples with generic types or types with drop glue in them
  • nonnull_from to create NonNulls from mutable and regular references conveniently
  • man_drop_ref/man_drop_mut as a workaround for the lack of const Deref implementations

About

Stable workarounds for some missing rust const features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages