How to define a subtrait as a version of its supertrait with extra constraints?
⚓ Rust 📅 2025-09-05 👤 surdeus 👁️ 11Hello. Just wondering, is it possible to define a subtrait as a version of its supertrait with extra constraints on the supertrait's generic associated type? I'm thinking of something like this, but this seems to be invalid syntax.
3 posts - 3 participants
🏷️ Rust_feed