pub enum TableRole {
Header,
Cell,
}Expand description
A semantic cell role used by the Table component.
A table cell is a block: it aligns its content inside a column width, which
is geometry. The glyph style of the table’s rules is a plain TextStyle,
reachable through
TablePresentation::get_border_style.
Variants§
Trait Implementations§
Source§impl BlockThemeRole for TableRole
impl BlockThemeRole for TableRole
fn resolve(self, theme: &Theme) -> BlockStyle
impl Copy for TableRole
impl Eq for TableRole
impl StructuralPartialEq for TableRole
Auto Trait Implementations§
impl Freeze for TableRole
impl RefUnwindSafe for TableRole
impl Send for TableRole
impl Sync for TableRole
impl Unpin for TableRole
impl UnsafeUnpin for TableRole
impl UnwindSafe for TableRole
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