pub struct TableStyle {
pub pad_x: Option<f32>,
pub pad_y: Option<f32>,
pub grid: TableGrid,
pub header_fill: bool,
}Expand description
表格的紧凑度与网格样式。
Fields§
§pad_x: Option<f32>单元格左右内边距(逻辑像素);None = 默认。越小列越紧凑。
pad_y: Option<f32>单元格上下内边距(逻辑像素);None = 默认。越小行越紧凑(行距越小)。
grid: TableGrid网格线开关。
header_fill: bool表头浅底,默认开。
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 moreSource§impl Debug for TableStyle
impl Debug 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