pub struct Section { /* private fields */ }Implementations§
Source§impl Section
impl Section
pub fn new() -> Section
pub fn page_size(self, size: PageSize) -> Self
pub fn page_margin(self, margin: PageMargin) -> Self
pub fn page_orient(self, o: PageOrientationType) -> Self
pub fn doc_grid(self, doc_grid: DocGrid) -> Self
pub fn text_direction(self, direction: String) -> Self
pub fn title_pg(self) -> Self
pub fn page_num_type(self, h: PageNumType) -> Self
pub fn add_paragraph(self, p: Paragraph) -> Self
pub fn add_table(self, t: Table) -> Self
pub fn add_bookmark_start(self, id: usize, name: impl Into<String>) -> Self
pub fn add_bookmark_end(self, id: usize) -> Self
pub fn add_comment_start(self, comment: Comment) -> Self
pub fn add_comment_end(self, id: usize) -> Self
pub fn header(self, header: Header) -> Self
pub fn first_header(self, header: Header) -> Self
pub fn even_header(self, header: Header) -> Self
Trait Implementations§
impl BuildXML for Section
impl StructuralPartialEq for Section
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
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