pub struct Options {
pub theme: Theme,
pub page_size: PageSize,
pub base_dir: PathBuf,
}Expand description
Composition options for to_pdf.
Fields§
§theme: ThemeThe CSS theme cascading over every element.
page_size: PageSizeThe page size every page is laid out and emitted at.
base_dir: PathBufThe directory local image paths resolve against.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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