pub struct TableConfig {
pub header: Option<BlockConfig>,
pub cell: Option<BlockConfig>,
pub border: Option<BorderConfig>,
pub alternating_row_background: Option<Color>,
pub cell_padding: Option<Sides<f32>>,
pub row_gap_pt: Option<f32>,
pub margin_before_pt: Option<f32>,
pub margin_after_pt: Option<f32>,
}Fields§
§header: Option<BlockConfig>§cell: Option<BlockConfig>§border: Option<BorderConfig>§alternating_row_background: Option<Color>§cell_padding: Option<Sides<f32>>§row_gap_pt: Option<f32>§margin_before_pt: Option<f32>§margin_after_pt: Option<f32>Trait Implementations§
Source§impl Clone for TableConfig
impl Clone for TableConfig
Source§impl Debug for TableConfig
impl Debug for TableConfig
Source§impl Default for TableConfig
impl Default for TableConfig
Source§impl<'de> Deserialize<'de> for TableConfig
impl<'de> Deserialize<'de> for TableConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TableConfig
impl RefUnwindSafe for TableConfig
impl Send for TableConfig
impl Sync for TableConfig
impl Unpin for TableConfig
impl UnsafeUnpin for TableConfig
impl UnwindSafe for TableConfig
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