Skip to content

gtsiam/imply-hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

imply-hack: Implied bounds, since 1.79!

Add implied bounds to your traits by adding Imply as a super trait:

trait Bound {}

trait MyTrait<T>: Imply<T, Is: Bound> {} // Implies T: Bound

Works with Rust 1.79+.

For more information, see the documentation.

About

Implied bounds, since 1.79!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages