pub struct HeaderFooterOptions {
pub font: Font,
pub font_size: f64,
pub alignment: TextAlign,
pub margin: f64,
pub show_page_numbers: bool,
pub date_format: Option<String>,
}Expand description
Configuration options for headers and footers.
Fields§
§font: FontFont to use for the header/footer text
font_size: f64Font size in points
alignment: TextAlignText alignment
margin: f64Vertical offset from page edge in points
show_page_numbers: boolWhether to include page numbers
date_format: Option<String>Custom date format (if None, uses default)
Trait Implementations§
Source§fn clone(&self) -> HeaderFooterOptions
fn clone(&self) -> HeaderFooterOptions
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 moreAuto Trait Implementations§
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