Struct html_sys::tables::TableHeader  
source · #[non_exhaustive]pub struct TableHeader {
    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.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 PartialOrd<TableHeader> for TableHeader
 
impl PartialOrd<TableHeader> for TableHeader
source§fn partial_cmp(&self, other: &TableHeader) -> Option<Ordering>
 
fn partial_cmp(&self, other: &TableHeader) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read more