pub struct TableWriteBuilder<'a, T: DocxRow> { /* private fields */ }Expand description
Implementations§
Source§impl<'a, T: DocxRow> TableWriteBuilder<'a, T>
impl<'a, T: DocxRow> TableWriteBuilder<'a, T>
Sourcepub fn title(self, title: impl Into<String>) -> Self
pub fn title(self, title: impl Into<String>) -> Self
Sets a document title (heading above the table).
Sourcepub fn need_header(self, need: bool) -> Self
pub fn need_header(self, need: bool) -> Self
Controls whether the header row is emitted.
Sourcepub fn header_style(self, style: TableStyle) -> Self
pub fn header_style(self, style: TableStyle) -> Self
Sets the table style.
Sourcepub fn banded_rows(self, enabled: bool) -> Self
pub fn banded_rows(self, enabled: bool) -> Self
Enables zebra striping on the table.
Auto Trait Implementations§
impl<'a, T> Freeze for TableWriteBuilder<'a, T>
impl<'a, T> RefUnwindSafe for TableWriteBuilder<'a, T>where
&'a [T]: RefUnwindSafe,
impl<'a, T> Send for TableWriteBuilder<'a, T>
impl<'a, T> Sync for TableWriteBuilder<'a, T>
impl<'a, T> Unpin for TableWriteBuilder<'a, T>
impl<'a, T> UnsafeUnpin for TableWriteBuilder<'a, T>where
&'a [T]: UnsafeUnpin,
impl<'a, T> UnwindSafe for TableWriteBuilder<'a, T>where
&'a [T]: UnwindSafe,
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