pub struct TableStyle {
pub header_size: Option<f32>,
pub header_color: Option<Color>,
pub row_stripe: Option<Color>,
}Fields§
§header_size: Option<f32>§header_color: Option<Color>§row_stripe: Option<Color>Implementations§
Source§impl TableStyle
impl TableStyle
pub const fn new() -> TableStyle
pub const fn header_size(self, size: f32) -> TableStyle
pub const fn header_color(self, color: Color) -> TableStyle
pub const fn row_stripe(self, color: Color) -> TableStyle
Trait Implementations§
Source§impl Clone for TableStyle
impl Clone for TableStyle
Source§fn clone(&self) -> TableStyle
fn clone(&self) -> TableStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TableStyle
Source§impl Debug for TableStyle
impl Debug for TableStyle
Source§impl Default for TableStyle
impl Default for TableStyle
Source§fn default() -> TableStyle
fn default() -> TableStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for TableStyle
impl PartialEq for TableStyle
impl StructuralPartialEq for TableStyle
Auto Trait Implementations§
impl Freeze for TableStyle
impl RefUnwindSafe for TableStyle
impl Send for TableStyle
impl Sync for TableStyle
impl Unpin for TableStyle
impl UnsafeUnpin for TableStyle
impl UnwindSafe for TableStyle
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