pub trait HtmlThAttributes: SetAttribute + Sized {
// Provided methods
fn abbr(self, value: impl Into<StringAttribute>) -> Self { ... }
fn colspan(self, value: impl Into<StringAttribute>) -> Self { ... }
fn headers(self, value: impl Into<StringAttribute>) -> Self { ... }
fn rowspan(self, value: impl Into<StringAttribute>) -> Self { ... }
fn scope(self, value: impl Into<StringAttribute>) -> Self { ... }
}
Expand description
Trait that provides attributes for the <th>
HTML element.
Provided Methods§
fn abbr(self, value: impl Into<StringAttribute>) -> Self
fn colspan(self, value: impl Into<StringAttribute>) -> Self
fn headers(self, value: impl Into<StringAttribute>) -> Self
fn rowspan(self, value: impl Into<StringAttribute>) -> Self
fn scope(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.