Rust Internals
Idea: Conditional code based on whether a type implements a trait
language design
scottmcm
December 1, 2021, 8:57am
4
I suggest you check out this thread from a few days ago:
show post in topic
Related topics
Topic
Replies
Views
Activity
Pre-RFC: MaybeDebug<T> type which always `impl Debug`
libs
11
1789
February 25, 2022
Feature Request: Generics that can detect Traits
language design
29
1596
July 28, 2021
Debugging non-`Debug` items in debug releases
libs
4
1291
July 11, 2021
Conditional compilation during monomorphisation
2
263
October 23, 2025
#[derive(Debug)] by default
language design
84
10146
July 31, 2020