Trait HtmlTimeAttributes
pub trait HtmlTimeAttributes: Sized + SetAttribute {
// Provided method
fn datetime(
self,
value: impl Into<MaybeDyn<Option<Cow<'static, str>>>>,
) -> Self { ... }
}
Expand description
Trait that provides attributes for the <time>
HTML element.
Provided Methods§
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.