pub struct Table { /* private fields */ }Expand description
从类型化数据构建的表格。
对应 Java: com.alibaba.excel.write.metadata.Sheet / EasyExcel.write().head(RowClass.class)
Implementations§
Source§impl Table
impl Table
Sourcepub fn header_style(self, style: TableStyle) -> Self
pub fn header_style(self, style: TableStyle) -> Self
设置表格样式。
Sourcepub fn banded_rows(self, enabled: bool) -> Self
pub fn banded_rows(self, enabled: bool) -> Self
启用斑马条纹。
Sourcepub fn auto_width(self) -> Self
pub fn auto_width(self) -> Self
启用自动列宽。
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnsafeUnpin for Table
impl UnwindSafe for Table
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