Trait time::formatting::Formattable

source ·
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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Formattable for [BorrowedFormatItem<'_>]

source§

impl Formattable for [OwnedFormatItem]

Implementors§