Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- trait Trait {
- fn new() -> Self;
- }
- struct A {}
- struct B {}
- impl Trait for A {}
- fn main() {
- print(DebugOnly{});
- print(AlsoDisplay{});
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement