Trait time::format_description::parse::SpannedValue

source ·
trait SpannedValue: Sized {
    // Required method
    fn spanned(self, span: Span) -> Spanned<Self> ;
}
Available on (crate features formatting or parsing) and crate feature alloc only.
Expand description

Helper trait to attach a Span to a value.

Required Methods§

source

fn spanned(self, span: Span) -> Spanned<Self>

Attach a Span to a value.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> SpannedValue for T