Struct timespan::DelayedFormat [] [src]

pub struct DelayedFormat<'a, T> {
    pub span: Span<T>,
    pub fmt: &'a str,
    pub start: &'a str,
    pub end: &'a str,
}

An instance of this type gets created when issuing a format on a span.

In theory this approach for formatting reduces the amount of memory used but the implementation is currently using more memory than it should.

Therefore this only eases the handling when formatting spans with a custom format string.

Fields

Trait Implementations

impl<'a, T> Display for DelayedFormat<'a, T> where
    T: Spanable + Formatable
[src]

Formats the value using the given formatter. Read more