Skip to main content

Formattable

Trait Formattable 

Source
pub trait Formattable: Sealed { }
Available on crate feature formatting only.
Expand description

A type that describes a format.

Implementors of Formattable are format descriptions.

To format a value into a String, use the format method on the respective type.

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.

Implementations on Foreign Types§

Source§

impl Formattable for [BorrowedFormatItem<'_>]

Source§

impl Formattable for [OwnedFormatItem]

Implementors§