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