Skip to content

Generic Associate Type variants of Rust std traits

Notifications You must be signed in to change notification settings

CraftSpider/gat-std

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GAT std

A variant of Rust std traits that use GATs, as well as a macro to allow rewriting code to use these traits instead of the std equivalents.

Why?

  1. These traits provide a common base so crates can all use the same definitions, like with num-traits
  2. std likely won't be able to change to use these traits for quite a while, if ever. This allows users to take advantage of GATs in their code smoothly despite that.

About

Generic Associate Type variants of Rust std traits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages