pub struct CellStyle {
pub color: Option<Color>,
pub background: Option<Color>,
pub italic: bool,
pub strikethrough: bool,
}Expand description
How a cell’s text looks (see Column::style): the default for each
field is the table’s own look.
Fields§
§color: Option<Color>The text’s colour.
background: Option<Color>A tint behind the cell (a changed value, say).
italic: boolItalic text (a placeholder such as NULL).
strikethrough: boolStruck-through text (a row about to be deleted).
Trait Implementations§
impl StructuralPartialEq for CellStyle
Auto Trait Implementations§
impl Forget for CellStyle
impl Freeze for CellStyle
impl Move for CellStyle
impl RefUnwindSafe for CellStyle
impl Send for CellStyle
impl Sync for CellStyle
impl Unpin for CellStyle
impl UnsafeUnpin for CellStyle
impl UnwindSafe for CellStyle
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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