| Crates.io | imply-hack |
| lib.rs | imply-hack |
| version | 0.1.0 |
| created_at | 2024-11-25 16:17:45.892046+00 |
| updated_at | 2024-11-25 16:17:45.892046+00 |
| description | Implied bounds, since 1.79! |
| homepage | |
| repository | https://github.com/gtsiam/imply-hack |
| max_upload_size | |
| id | 1460465 |
| size | 6,425 |
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.