Rust Internals
Traits for function items
language design
binarycat
May 7, 2025, 3:32am
6
would this solve the problem described in
the FnStatic Pre-RFC
show post in topic
Related topics
Topic
Replies
Views
Activity
[Feature request] Function items should coerce to function pointers when used as a receiver
language design
5
696
February 3, 2022
Extending implicit coercion of function items to function pointers during trait resolution
language design
17
1500
October 31, 2022
Suggestion: Implement Default for function items
7
911
September 12, 2021
Implementing traits on closures
language design
4
678
March 17, 2021
An `FnPtr` trait for guaranteed static dispatch of function pointers
language design
17
1333
December 19, 2023