pub trait Formattable: Sealed { }
Available on crate feature
formatting
only.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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.