[][src]Trait timespan::Formatable

pub trait Formatable: Display {
    fn format<'a>(&self, _: &'a str) -> DelayedFormat<StrftimeItems<'a>>;
}

Spanable types that are formatable can be used to serialize a given span to a string.

Required methods

fn format<'a>(&self, _: &'a str) -> DelayedFormat<StrftimeItems<'a>>

This is a wrapper method to the format method from chrono.

Loading content...

Implementations on Foreign Types

impl<T: TimeZone> Formatable for Date<T> where
    <T as TimeZone>::Offset: Display
[src]

impl<T: TimeZone> Formatable for ChronoDateTime<T> where
    <T as TimeZone>::Offset: Display
[src]

impl Formatable for NaiveDate[src]

impl Formatable for NaiveDateTime[src]

impl Formatable for NaiveTime[src]

Loading content...

Implementors

Loading content...