Skip to content

Conversation

@Databean
Copy link
Member

libfmt is able to format types if there is a format_as function defined that accepts an instance of that type. This strategy allows making a type formattable by libfmt without any actual dependency on libfmt.

https://fmt.dev/11.1/api/#formatting-user-defined-types

libfmt is able to format types if there is a `format_as` function
defined that accepts an instance of that type. This strategy allows
making a type formattable by libfmt without any actual dependency on
libfmt.

https://fmt.dev/11.1/api/#formatting-user-defined-types
@Databean Databean requested a review from jemoreira January 16, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants