pub trait Formattable: Sealed { }
Expand description

A type that describes a format.

Implementors of Formattable are format descriptions.

Date::format and Time::format each use a format description to generate a String from their data. See the respective methods for usage examples.

Implementations on Foreign Types§

source§

impl Formattable for [FormatItem<'_>]

source§

impl Formattable for [OwnedFormatItem]

Implementors§