Available on crate features
formatting
or parsing
only.Expand description
Description of how types should be formatted and parsed.
The formatted value will be output to the provided writer. Format descriptions can be
well-known or obtained by using the
format_description!
macro or a function listed below.
For examples, see the implementors of Formattable,
e.g. well_known::Rfc3339
.
Re-exportsยง
pub use borrowed_format_item::BorrowedFormatItem;
#[doc(hidden)] pub use borrowed_format_item::BorrowedFormatItem as FormatItem;
pub use owned_format_item::OwnedFormatItem;
alloc
pub use self::component::Component;
pub use self::parse::parse;
alloc
pub use self::parse::parse_borrowed;
alloc
pub use self::parse::parse_owned;
alloc
pub use self::parse::parse_strftime_borrowed;
alloc
pub use self::parse::parse_strftime_owned;
alloc
Modulesยง
- borrowed_
format_ ๐item A format item with borrowed data. - component ๐Part of a format description.
- Various modifiers for components.
- A format item with owned data.
- Parser for format descriptions.
- Well-known formats, typically standards.