derive(Format)
: add field attribute to map a field with a method prior to formatting it
#502
Labels
difficulty: medium
Somewhat difficult to solve
priority: medium
Medium priority for the Knurling team
status: needs design
This feature needs design work to move forward
type: enhancement
Enhancement or feature request
Use case
You want to derive
Format
an a struct that contains fields whose types don't implement theFormat
trait but can be easily mapped to a type that does.Examples include structs with
heapless::Vec
(implementsFormat
as of 0.7.0) andNonZero*
(see #) fieldsStrawman proposal
Alternatives
Format
implementationUnresolves questions
serde
's remote attributeThe text was updated successfully, but these errors were encountered: