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
1570
February 25, 2022
Conditional implementation based on whether a type parameter satisfies a bound
language design
7
887
April 29, 2019
Feature Request: Generics that can detect Traits
language design
29
1433
July 28, 2021
#[derive(Debug)] by default
language design
84
8727
July 31, 2020
Could core::fmt::Formatter be an alias to a trait object?
libs
6
640
January 2, 2022