pub struct TextCellPaint {
pub color: Option<Color>,
pub weight: FontWeight,
pub padding_left: f32,
pub padding_right: f32,
pub alignment: TableColumnAlignment,
pub numeric: bool,
pub text_token: Option<ThemeTextToken>,
}Fields§
§color: Option<Color>§weight: FontWeight§padding_left: f32§padding_right: f32§alignment: TableColumnAlignment§numeric: bool§text_token: Option<ThemeTextToken>Implementations§
Source§impl TextCellPaint
impl TextCellPaint
pub const fn new() -> Self
pub const fn color(self, color: Color) -> Self
pub const fn weight(self, weight: FontWeight) -> Self
pub const fn padding(self, left: f32, right: f32) -> Self
pub const fn alignment(self, alignment: TableColumnAlignment) -> Self
pub const fn numeric(self, numeric: bool) -> Self
pub const fn text_token(self, token: ThemeTextToken) -> Self
Trait Implementations§
Source§impl Clone for TextCellPaint
impl Clone for TextCellPaint
impl Copy for TextCellPaint
Source§impl Debug for TextCellPaint
impl Debug for TextCellPaint
Source§impl Default for TextCellPaint
impl Default for TextCellPaint
Source§impl PartialEq for TextCellPaint
impl PartialEq for TextCellPaint
impl StructuralPartialEq for TextCellPaint
Auto Trait Implementations§
impl Forget for TextCellPaint
impl Freeze for TextCellPaint
impl Move for TextCellPaint
impl RefUnwindSafe for TextCellPaint
impl Send for TextCellPaint
impl Sync for TextCellPaint
impl Unpin for TextCellPaint
impl UnsafeUnpin for TextCellPaint
impl UnwindSafe for TextCellPaint
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