Trait HtmlTrackAttributes

Source
pub trait HtmlTrackAttributes: SetAttribute + Sized {
    // Provided methods
    fn default(self, value: impl Into<MaybeDyn<bool>>) -> Self { ... }
    fn kind(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn label(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn src(self, value: impl Into<StringAttribute>) -> Self { ... }
    fn srclang(self, value: impl Into<StringAttribute>) -> Self { ... }
}
Expand description

Trait that provides attributes for the <track> HTML element.

Provided Methods§

Source

fn default(self, value: impl Into<MaybeDyn<bool>>) -> Self

Source

fn kind(self, value: impl Into<StringAttribute>) -> Self

Source

fn label(self, value: impl Into<StringAttribute>) -> Self

Source

fn src(self, value: impl Into<StringAttribute>) -> Self

Source

fn srclang(self, value: impl Into<StringAttribute>) -> Self

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.

Implementors§