Struct html_sys::tables::TableHeader
source · #[non_exhaustive]pub struct TableHeader {
pub data_map: DataMap,
pub colspan: Option<Cow<'static, str>>,
pub rowspan: Option<Cow<'static, str>>,
pub headers: Option<Cow<'static, str>>,
pub scope: Option<Cow<'static, str>>,
pub abbr: Option<Cow<'static, str>>,
/* private fields */
}
Expand description
The HTML <th>
element
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.data_map: DataMap
§colspan: Option<Cow<'static, str>>
Number of columns that the cell is to span
rowspan: Option<Cow<'static, str>>
Number of rows that the cell is to span
headers: Option<Cow<'static, str>>
The header cells for this cell
scope: Option<Cow<'static, str>>
Specifies which cells the header cell applies to
abbr: Option<Cow<'static, str>>
Alternative label to use for the header cell when referencing the cell in other contexts
Trait Implementations§
source§impl Clone for TableHeader
impl Clone for TableHeader
source§fn clone(&self) -> TableHeader
fn clone(&self) -> TableHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TableHeader
impl Debug for TableHeader
source§impl Default for TableHeader
impl Default for TableHeader
source§fn default() -> TableHeader
fn default() -> TableHeader
Returns the “default value” for a type. Read more
source§impl Deref for TableHeader
impl Deref for TableHeader
source§impl DerefMut for TableHeader
impl DerefMut for TableHeader
source§impl Display for TableHeader
impl Display for TableHeader
source§impl PartialEq<TableHeader> for TableHeader
impl PartialEq<TableHeader> for TableHeader
source§fn eq(&self, other: &TableHeader) -> bool
fn eq(&self, other: &TableHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RenderElement for TableHeader
impl RenderElement for TableHeader
impl StructuralPartialEq for TableHeader
Auto Trait Implementations§
impl RefUnwindSafe for TableHeader
impl Send for TableHeader
impl Sync for TableHeader
impl Unpin for TableHeader
impl UnwindSafe for TableHeader
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more